SaaS CMS has officially launched! Learn more now.

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