24/10/2015
developer - integrator - template

create a filtered image in template

In a template html or jsp file you can use the tag imagetransform for create a filtered url to a local image, like a banner.

Declare tag lib

<%@ taglib uri="/WEB-INF/javlo.tld" prefix="jv"%>

Exemple :

<jv:imagetransform src="/img/default_banner.jpg" var="imgURL" filter="banner" />
<div class="container main-banner"><img src="${imgURL}" alt="main banner" lang="en" /></div>