On 09.06.2009, at 10:28, Matteo Pelucco wrote:

This can work:

<cms:out nodeDataName="dataImgUUIDStoredInPage" var="uuidToSearchInDMS" /> <cms:out repository="dms" uuid="${uuidToSearchInDMS}" nodeDataName="path" var="imgUrl"/> <cms:out repository="dms" uuid="${uuidToSearchInDMS}" nodeDataName="title" var="imgTitle"/>
<img src="/dms/${imgUrl}/${imgTitle}" ... />

PS: anyway, you can replace
<img src="/dms/${imgUrl}/${imgTitle}" ... />

Hm... if I'm not mistaken this would print out the path without the file extension, right? To display an image in a browser with an <img.../> tag this might work alright, but as soon as the user tries to download the image doc he might face some problems...

-will


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to