jjones
-
10/30/2006 5:00:23 PM
Kentico v2.0 Showing images
I have a transformation for a document type (businessProfile) in which I would like to show an image. The businessProfile document type has a property which is an 'image selector' field. The image selector field puts a guid in the database into the column businessprofile.CompanyLogo - e.g. ac45d3fe-0600-467e-a3b2-468d552ab458. This is actually the guid for the NodeId of the image and not an attachment guid. Can you tell me the code to use in the transformation.
I have tried GetFileUrl("CompanyLogo") but this tries to use the guid of the document and not the attachment. I may be missing something obvious.
Kind Regards, John AND
|