That is a link pattern and Magnolia should/would normally convert that into link on the fly. So question is more, what exactly are you doing that it doesn’t convert it for you when rendering the content?
Otherwise, it’s the info.magnolia.link.LinkUtil.convertLinksFromUUIDPattern(String) that does the conversion. HTH, Jan > On 29 Oct 2015, at 08:32, Ha Bui (via Magnolia Forums) > <fo...@magnolia-cms.com> wrote: > > 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: <user-list-unsubscr...@magnolia-cms.com> > ----------------------------------------------------------------
signature.asc
Description: Message signed with OpenPGP using GPGMail