• Settings
    • Locale
    • Change the locale of the datepicker, schedule and client side validation messages.

      Language
      English
      English
      English
      French
      German
      German
      German
      Italian
      Korean
      Spanish
      Catalan
      Dutch
      Portuguese
      Portuguese
      Arabic
      Arabic
      Bulgarian
      Bangla
      Bosnian
      Czech
      Greek
      Estonian
      Persian
      Finnish
      Danish
      Hindi
      Indonesian
      Icelandic
      Croatian
      Japanese
      Hungarian
      Hebrew
      Georgian
      Central Kurdish
      Khmer
      Kyrgyz
      Kazakh
      Lithuanian
      Latvian
      Malay
      Norwegian
      Polish
      Romanian
      Russian
      Slovak
      Slovenian
      Serbian
      Serbian
      Swedish
      Thai
      Turkish
      Ukrainian
      Uzbek
      Vietnamese
      Chinese
      Chinese
  • Resources

ImageZoom

ImageZoom is a widget for zooming an image to a high definition version.

ImageZoom Tag Documentation

ImageZoom provides zoom on hover for images.

NameTypeRequiredDefaultDescription
id String false generated Unique identifier of the component in a namingContainer.
rendered boolean false true Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding UIComponent false generated An EL expression referring to a server side UIComponent instance in a backing bean.
widgetVar String false generated ('widget_' + componentClientId) Name of the client side widget.
background String false #fff Background color.
container String false Container selector for the zoom overlay.
for String true Search expression for the target image.
margin Integer false 0 Margin around the zoomed image.
scrollOffset Integer false 40 Scroll offset.
template String false Template for the zoom display.
Tag Documentation Widget Source
Basic Zoom

The basic configuration enables zooming in an image. This component can also be used against Galleria. Note that the xmlns:pt="jakarta.faces.passthrough" namespace is needed for pt:data-zoom-src to work.

Tibet

Usage


<div class="card">
    <h5>Basic Zoom</h5>
    <p>The basic configuration enables zooming in an image. This component can also be used against Galleria. Note that the
        <code>xmlns:pt="jakarta.faces.passthrough"</code> namespace is needed for <code>pt:data-zoom-src</code> to work.</p>
    <h:form id="formBasicZoom">
        <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="#{request.contextPath}/resources/images/imagezoom/tibet-hd.jpg"/>

        <pe:imageZoom for="tibet"/>
    </h:form>
</div>