Display multiple images on the same page fro, media picker
Hi all
I would like a user to be able to pick several images from the media folder to display in different areas of the same page url http://test.transitioninfonetwork.org.uk/home.aspx where there's big white gaps with numbers there should be images. I tried to edit my xslt accordingly, but don't know if what I am trying to do will work. Is my syntax wrong? or do I need to write seperate xslt for each image?
One way I think you could do it is to add a media picker to the document type that creates the content the small stories (div class="small_story").
And then in the place where you output data from div class="small_story add the below XSLT snippet in the small_body_image div tag, to render the image that you picked, on media picker at the current story.
Display multiple images on the same page fro, media picker
Hi all
I would like a user to be able to pick several images from the media folder to display in different areas of the same page url http://test.transitioninfonetwork.org.uk/home.aspx where there's big white gaps with numbers there should be images. I tried to edit my xslt accordingly, but don't know if what I am trying to do will work. Is my syntax wrong? or do I need to write seperate xslt for each image?
Please help
Thanks
Natasha
Hi Natasha,
One way I think you could do it is to add a media picker to the document type that creates the content the small stories (div class="small_story").
And then in the place where you output data from div class="small_story add the below XSLT snippet in the small_body_image div tag, to render the image that you picked, on media picker at the current story.
Remeber to change the YourMediaPickerAlias to your alias of the media picker. I hope this make sense, and will work for you.
/Dennis
Thanks Dennis. I took your idea and rendered each image within the template from another post from Kim (code below) and now it works.
Glad that you could use my advice, and you got it to work.
/Dennis
is working on a reply...