The basic configuration enables zooming in an Image. This component can also be used against Galleria.
Note that the xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
namespace
is needed for pt:data-zoom-src
to work.
Source
<p:growl id="growl" showDetail="true" sticky="true"/>
<p:graphicImage id="tibet"
alt="Tibet"
height="200"
width="200"
value="/resources/images/imagezoom/tibet-small.jpg"
pt:data-zoom-src="/showcase-ext/resources/images/imagezoom/tibet-hd.jpg"/>
<pe:imageZoom for="tibet"/>
<p>Note that the <code>xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"</code> namespace
is needed for <code>pt:data-zoom-src</code> to work.</p>