On 09.06.2009, at 09:40, Matteo Pelucco wrote:

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

I don't think that this

<cms:out repository="dms" uuid="${variableContainingTheUUID}" nodeDataName="path" />

will work. This will return a link to the dms node, i.e. /link/to/my/ dms/node, but you need a link to the document in the node, i.e. /link/ to/my/dms/node/image.jpg

Therefore I posted the code which turns the node into a DMS "Document" object and gets the link from it.

-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