Hi all,
I am using a custom User Control in my project. I would like to show an image from the CMS system. I use the setting "store images on the file system"
My user Control gets some data from one of my custom doc types which has an image field in it which contains the guid.
How Would I display my image in the user control. I am trying this:
Dim objImgHelper As New CMS.Controls.CMSAbstractTransformation
Dim sReturnImagePath As String = String.Empty
sReturnImagePath = objImgHelper.GetDocumentUrl(sHotelImage) '<-- this is the image GUID
Return sReturnImagePath
Thanks
Jason