skip to content

This site uses cookies. By accepting cookies you can optimise your browsing experience.

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>