Thanks, Matteo!

Here is what finally made it work:
Configure the damfn: Modules -> rendering -> renderers -> jsp -> 
contextAttributes
Add a Content node called damfn with 2 properties: 1. component with value of 
info.magnolia.dam.asset.functions.DamTemplatingFunctions 2. name with value of 
damfn.

Then in the jsp component:
<c:set var="img" value="${damfn.getAssetLinkForId(content.smallImage)}"/>
<img src="${img}" />

Hope this helps someone else. MelodeeJoy

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=8edc1a7d-cb08-41ee-8f1e-0072a7dcc0a6


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

Reply via email to