Try our conversational search powered by Generative AI!

Adding caption to Images

Vote:
 
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
Vote:
 
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.