Locale

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

Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

Galleria FullScreen

In fullscreen mode content covers the whole page over a mask.

With Thumbnails
  • Description for Image 1
  • Description for Image 2
  • Description for Image 3
  • Description for Image 4
  • Description for Image 5
  • Description for Image 6
  • Description for Image 7
  • Description for Image 8
  • Description for Image 9
  • Description for Image 10
  • Description for Image 11
  • Description for Image 12
  • Description for Image 13
  • Description for Image 14
  • Description for Image 15
Description for Image 1
Description for Image 2
Description for Image 3
Description for Image 4
Description for Image 5
Description for Image 6
Description for Image 7
Description for Image 8
Description for Image 9
Description for Image 10
Description for Image 11
Description for Image 12
Description for Image 13
Description for Image 14
Description for Image 15
Without Thumbnails
  • Description for Image 1
  • Description for Image 2
  • Description for Image 3
  • Description for Image 4
  • Description for Image 5
  • Description for Image 6
  • Description for Image 7
  • Description for Image 8
  • Description for Image 9
  • Description for Image 10
  • Description for Image 11
  • Description for Image 12
  • Description for Image 13
  • Description for Image 14
  • Description for Image 15
Custom Content
  • Description for Image 1
  • Description for Image 2
  • Description for Image 3
  • Description for Image 4
  • Description for Image 5
  • Description for Image 6
  • Description for Image 7
  • Description for Image 8
  • Description for Image 9
  • Description for Image 10
  • Description for Image 11
  • Description for Image 12
  • Description for Image 13
  • Description for Image 14
  • Description for Image 15
Description for Image 1
Description for Image 2
Description for Image 3
Description for Image 4
Description for Image 5
Description for Image 6
Description for Image 7
Description for Image 8
Description for Image 9
Description for Image 10
Description for Image 11
Description for Image 12
Description for Image 13
Description for Image 14
Description for Image 15

<h:form id="myform">
    <p:remoteCommand name="rc" actionListener="#{galleriaView.changeActiveIndex}" update=":myform:custom" oncomplete="PF('galleria3').show()" />
    
    <div class="card">
        <h5>With Thumbnails</h5>
        <p:galleria widgetVar="galleria1" value="#{galleriaView.photos}" var="photo" numVisible="9" responsiveOptions="#{galleriaView.responsiveOptions3}"
                    circular="true" fullScreen="true" showItemNavigators="true" style="max-width: 50%">
            <p:graphicImage name="#{photo.itemImageSrc}" alt="#{photo.alt}" style="width: 100%; display: block" />
            <f:facet name="thumbnail">
                <p:graphicImage name="#{photo.thumbnailImageSrc}" alt="#{photo.alt}" style="display: block" />
            </f:facet>
        </p:galleria>

        <p:commandButton value="Show" icon="pi pi-external-link" onclick="PF('galleria1').show()" />
    </div>

    <div class="card">
        <h5>Without Thumbnails</h5>
        <p:galleria widgetVar="galleria2" value="#{galleriaView.photos}" var="photo" numVisible="7" responsiveOptions="#{galleriaView.responsiveOptions1}"
                    circular="true" fullScreen="true" showItemNavigators="true" showThumbnails="false" style="max-width: 850px">
            <p:graphicImage name="#{photo.itemImageSrc}" alt="#{photo.alt}" style="width: 100%; display: block" />
        </p:galleria>

        <p:commandButton value="Show" icon="pi pi-external-link" onclick="PF('galleria2').show()" />
    </div>

    <div class="card">
        <h5>Custom Content</h5>
        <p:galleria id="custom" widgetVar="galleria3" value="#{galleriaView.photos}" var="photo" activeIndex="#{galleriaView.activeIndex}" numVisible="7" responsiveOptions="#{galleriaView.responsiveOptions1}"
                    circular="true" fullScreen="true" showItemNavigators="true" showThumbnails="false" style="max-width: 850px">
            <p:graphicImage name="#{photo.itemImageSrc}" alt="#{photo.alt}" style="width: 100%; display: block" />
        </p:galleria>

        <div class="grid" style="max-width: 400px">
            <ui:repeat value="#{galleriaView.photos}" var="photo" varStatus="status">
                <div class="col-3">
                    <p:graphicImage name="#{photo.thumbnailImageSrc}" alt="#{photo.alt}" style="cursor: pointer" onclick="rc([{'name': 'index', 'value': #{status.index} }])" />
                </div>
            </ui:repeat>
        </div>
    </div>
</h:form>