Hi,
I need to use the JSP taglib in order to display dms images. here's how it
worked in 4.4.5 CE:
[code]<%@ taglib prefix="cms" uri="cms-taglib" %>
<cms:out nodeDataName="imageDmsUUID" uuidToLinkRepository="dms"
uuidToLink="absolute" var="imageUrl"/>
<img src="${pageContext.request.contextPath}${imageUrl}" />[/code]
Unfortunately this taglib doesn't work anymore in 4.5.2. So I have to use this
one:
<%@ taglib prefix="cms"
uri="http://magnolia-cms.com/taglib/templating-components/cms" %>
But this is missing the most tags, it only contains
[url=http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.1/magnolia-templating-jsp/tlddoc/cms/tld-summary.html]area,
component and init[/url] (and [b]not[/b] the [i]out[/i]-tag I need).
So how am I supposed to display images using JSP in 4.5.2 or can you give me a
freemarker example since
[code][#if content.image?has_content]
${content.image}
<img src="${contextPath}${content.image}" alt='${content.imageAlt!"shit"}' />
[/#if][/code]
doesn't work either...
Thanks four your help!
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=2b969df8-d962-45e4-a2fd-ebae14ba2fa7
----------------------------------------------------------------
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]>
----------------------------------------------------------------