{t('nav.photos', 'Photos')} · OxiCloud

{t('nav.photos', 'Photos')}

{#if peopleAvailable} {/if}
{#if tab === 'moments'}
{#each MODES as m (m)} {/each}
{#if selected.size > 0}
{t('files.selected_count', { n: selected.size }, '{{n}} selected')}
{/if} {#if error} {:else if items.length === 0 && exhausted} {:else}
{#if photoRows.length} {#snippet row(r)} {#if r.kind === 'header'}
{r.label} {r.count}
{:else}
{#each r.tiles as cell (cell.file.id)} {@render tile(cell.file, `width:${cell.w}px;height:${cell.h}px`)} {/each}
{/if} {/snippet}
{/if}
{/if} {#if loading}

{t('common.loading', 'Loading…')}

{/if} {:else if tab === 'places'} {:else if tab === 'people'} {/if} {#snippet tile(photo: PhotoItem, sizeStyle?: string)}
{/snippet}