henry
-
1/13/2010 8:01:54 PM
using CMSDocumentValue control for image fields?
Hi guys, I have an aspx page template for a document type which has a number of fields, including plain text, HTML and image types. On my aspx template, using CMSDocumentValue works perfectly for the text and html regions, but CMSDocumentValue just returns the attachment GUID for the image, instead of giving me the image itself, or the src of the image.
I thought about making a transformation for the document type and using CMSViewer but I'm not sure if this is the best solution - does anyone have any better ideas on what control to use or how I can display an image field from a document type on a page template?
|