images in template

Emilio Otero <[email protected]> Mon, 20 Oct 2014 14:05:05 +0200
Newsgroups gmane.comp.web.freemarker.user
Message-ID <CAEHOtJF03w28vZnHf0KaykTiciHLb=RmKKHeWZQMWRbCDZXYWA@mail.gmail.com>
Hi I'm newbie using the templates to show a query. My question is this. I'm
trying to display images in my template, I have multiple images for an
unique code, for example, code X23 has four images, and i don't know how to
show only a code and the images it has associated.
This is my code:

<#list features as feature>
<div id="box">
<div id="boxCODE">Code: </div>
<div id="box2"><div id="boxCO">${feature.code.value}</div></div>
<div id="boxMAT">Mat: </div>
<div id="boxOB2"><div id="box3">${feature.mat.value}</div></div>
<div id="boxOB">Obj:</div>
<div id="boxOB2"><div id="box3">${feature.obj.value}</div></div>
<img src="http://localhost:8080/thumb/${feature.foto.value}">
</div>
</#list>

anyone, could help me with this?

thanks!!

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user