Hi all
I have a node with content like below:
<p><img alt=""
src="${link:{uuid:{53deaffb-662b-4c2b-b1f9-d938e3861192},repository:{dam},path:{/lookbook/Woolweek_02.jpg},nodeData:{},extension:{jpg}}}"
style="height:417px; width:610px" /></p><img alt=""
src="${link:{uuid:{59deaffb-662b-4c2b-b1f9-d938e38611123},repository:{dam},path:{/lookbook/Woolweek_03.jpg},nodeData:{},extension:{jpg}}}"
style="height:417px; width:610px" />
Do we have any functions which can input that node content and it will convert
that jcr node id of image to a image link? I hope after the conversion, I will
have the content like below:
<p><img alt="" src="/webapp/Woolweek_02.jpg" style="height:417px; width:610px"
/></p><img alt="" src="/webapp/Woolweek_03.jpg" style="height:417px;
width:610px" />
I know we have a function like stkfn.getAssetLink(). But this is for a single
link. In my case, I have a mixed content with html and jcr like above.
Thanks,
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=a88b8997-14bd-469f-a0fc-840d9af94467
----------------------------------------------------------------
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]>
----------------------------------------------------------------