{#if images.filter((image) => image.kategorie === kategorie).length === max} Maximale Anzahl Bilder wurde erreicht. {:else if max > 1}
{:else}
{/if}