skip to content
developer - integrator - template

Create a filtered image in a 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"%>

Example :

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