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.active