{#if images.length === 1} {:else if images.length > 1}
{#each Array(totalSlots) as _, index} {#if index < images.length} {:else} {/if} {/each}
{/if}