{PUBLIC_GALLERY_NAME}
Secure Session
{#each photos as photo (photo.id)}
changeActivePhoto(photo)} >
{/each}
{#if loading}
{/if}
{#if activePhoto}
{ if (e.target === e.currentTarget) activePhoto = null; }} onkeydown={handleKeyDown} ontouchstart={handleTouchStart} onttouchmove={handleTouchMove} ontouchend={handleTouchEnd} >
{activeIndex + 1}
/
{photos.length}
{ if(isZoomed) { resetZoom(); } else { isZoomed = true; } }} > {#if isZoomed}
{:else}
{/if}
activePhoto = null} >
{#if !isZoomed}
{#if activeIndex > 0}
{/if}
{#if activeIndex < photos.length - 1}
{/if}
{/if}
{#each photos as thumbPhoto, idx}
changeActivePhoto(thumbPhoto)} >
{/each}
{/if}