ImageSwitch ImageSwitch is an image gallery component with 25+ effects.

Manual

Fade

Zoom

TurnDown

Shuffle

Dialog Integration

Images
<h3 style="margin-top:0">Manual</h3>
<p:commandButton type="button" onclick="PF('switcher').previous();"
    icon="ui-icon-circle-triangle-w" id="prev"/>
<p:commandButton type="button" onclick="PF('switcher').next();"
    icon="ui-icon-circle-triangle-e" id="next"/>

<p:imageSwitch effect="wipe" widgetVar="switcher" id="manuelSwitcher"
    slideshowAuto="false">
    <ui:repeat value="#{imagesView.images}" var="image" id="manuelSwitcherImages">
        <p:graphicImage name="/demo/images/nature/#{image}" id="image"/>
    </ui:repeat>
</p:imageSwitch>

<h3>Fade</h3>
<p:imageSwitch effect="fade" id="fadeEffect">
    <ui:repeat value="#{imagesView.images}" var="image" id="fadeEffectImages">
        <p:graphicImage name="/demo/images/nature/#{image}" id="image" />
    </ui:repeat>
</p:imageSwitch>

<h3>Zoom</h3>
<p:imageSwitch effect="zoom">
    <ui:repeat value="#{imagesView.images}" var="image">
        <p:graphicImage name="/demo/images/nature/#{image}" />
    </ui:repeat>
</p:imageSwitch>

<h3>TurnDown</h3>
<p:imageSwitch effect="turnDown">
    <ui:repeat value="#{imagesView.images}" var="image">
        <p:graphicImage name="/demo/images/nature/#{image}" />
    </ui:repeat>
</p:imageSwitch>

<h3>Shuffle</h3>
<p:imageSwitch effect="shuffle">
    <ui:repeat value="#{imagesView.images}" var="image">
        <p:graphicImage name="/demo/images/nature/#{image}" />
    </ui:repeat>
</p:imageSwitch>

<h3>Dialog Integration</h3>
<p:commandButton type="button" value="Show" onclick="PF('dlg').show()" icon="ui-icon-extlink"/>

<p:dialog header="Images" widgetVar="dlg" modal="true"
    draggable="false" resizable="false">

    <p:imageSwitch effect="fade">
        <ui:repeat value="#{imagesView.images}" var="image">
            <p:graphicImage name="/demo/images/nature/#{image}" />
        </ui:repeat>
    </p:imageSwitch>
</p:dialog>
                
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.1.4 on Mojarra-2.2.10.