Hi Everyone,

I've been spending the last couple of weeks looking into Magnolia as we're 
going to use it for one of our projects. It's looks to be a great product and 
I'm excited to get my teeth stuck into it.

I've found the documentation pretty light so I was hoping I could ask some 
specific questions here:

I'm trying to develop a paragraph template that shows an image. In the dialog I 
want the content author to be able to upload an image or select one that 
already exists in the DMS. I can display the image fine if they upload the 
image directly into the paragraph using this code:

<cms:ifNotEmpty nodeDataName="imgBinary">
   <cms:out nodeDataName="imgBinary" var="imageUrl" />
   <img class="float-${content.imgAlignment}" width="100" height="120" 
alt="firefox" src="${pageContext.request.contextPath}${imageUrl}" />
</cms:ifNotEmpty>

But I can't find any way to have the image tag rendered for a DMS linked image. 
Does someone know how to do this? I've looked at the templating kit provided in 
the latest version but it's using FreeMaker and it seems to refer to 
"model.imageLink". Without the paragraph rendering's source code I've got no 
way of knowing what "model.imageLink" actually means.

If anyone can help that would be much appreciated! I've got plenty of questions 
like this. If anyone has more detailed sample JSP sites that I can use to 
reference that would be great!

Cheers,

Brent



----------------------------------------------------------------
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