I am trying to add images to my news items, in my news list. I have a media picker in newsItem named "newsImage", in there I uploaded the image I want to display in the news list.
I have tried to add the media picker, like I added the "summary" section of the news item. The problem is that I only get a four digit number, this is the name of the folder the image is in.
show an image in a news list item
I am trying to add images to my news items, in my news list. I have a media picker in newsItem named "newsImage", in there I uploaded the image I want to display in the news list.
I have tried to add the media picker, like I added the "summary" section of the news item. The problem is that I only get a four digit number, this is the name of the folder the image is in.
Is there a easy way to make this work correctly?
The code for newsList.xslt
Ole
the number is the ID of the media item
there is a great blog post here
http://blog.leekelleher.com/2010/08/11/how-to-use-umbraco-library-getmedia-in-xslt-for-umbraco-v4-5/
that gives some good techniques for turning that into an image
is working on a reply...