{#if $result.length === 0} {#if $someLoading}
{:else} {/if} {:else}
{#each $result as image (image.pictureUrl)} {/each}
{/if}
{#if $someLoading && $result.length > 0} {/if} {#if $errors.length > 0} {/if}