Hi,
How can I retrieve the path to an uploaded image/file in a document type?
I have a document type with a File -> Uploader -> Direct Uploader field, called 'NewsTeaser'. I am retrieving the contents of this field in a Transformation:
<img src="<%# Eval("NewsTeaser") %>" alt="<%# Eval("NewsTitle",true) %>" />
Eval("NewsTeaser") does not resolve to the path to the uploaded file - it just resolves to the GUID of the uploaded file.
I can't use GetImage("NewsTeaser"), because I need to customize the attributes of the rendered <img> tag.
What other options are available?