Display Media Picker Image in a Template (not XSL!)
I have a document type with a media picker image (called projectImage). When I try to display the image in the template I simply get the ID of the image. In the template I'm using:
You are welcome happy that I could help. Could you please mark the question as solved so other people that comes accross this post can go directly to the solution.
You do this by click the little green tick on my first post in this thread.
Display Media Picker Image in a Template (not XSL!)
I have a document type with a media picker image (called projectImage). When I try to display the image in the template I simply get the ID of the image. In the template I'm using:
Can someone tell me how I display the image please? I've done lots of searches (most give xsl) but can't find something that works!
Thanks in advance
PS - I'm loving MVC with Umbraco - so very glad I don't have to use xsl ... I hope anyway :-)
Hi George,
Try to use this code.
You can find the documentation here and look at the typed MVC View Example http://our.umbraco.org/DOCUMENTATION/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors/Media-Picker
Hope this helps,
/Dennis
Brilliant! Thank you Dennis!
Hi George,
You are welcome happy that I could help. Could you please mark the question as solved so other people that comes accross this post can go directly to the solution.
You do this by click the little green tick on my first post in this thread.
/Dennis
is working on a reply...