{#if items.length > 0}
{#each items as item, i (i)} {@const label = item.alt || `Picture ${i + 1} of ${items.length}`}
{#if item.full}
(open = i)}>
{:else}
{/if}
{/each}
{#if open !== null}
(open = null)} /> {/if} {/if}