volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Adding caption to Images

Hello, Has anyone found a solution on how to add a caption for images taken from the UnifiedFile Summary fields such as Title, Comments, Description, etc? These can be accessed like this but I am struggling on how to make it a dynamic function: UnifiedFile file = UnifiedFileSystem.GetFile("/upload/img/news/thumbnails/Image.jpg"); Response.Write(file.Summary.Comments); Response.Write(file.Summary.Title); The caption would appear at the bottom of each image if available.
#13135
Jul 31, 2007 16:54
Perhaps i missunderstand you, but the simple solution is to either create your own class that outputs the html-code or even simpler, a user control that does it for you.
#15455
Aug 01, 2007 13:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.