{#if photos.length > 0}
{#each photos as _photo, i (i)} {/each}
{/if}