High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
<script lang="ts">
import { cleanClass } from '#lib';
interface Props {
alt?: string;
preload?: boolean;
class?: string;
}
let { alt = '', preload = false, class: className }: Props = $props();
</script>
<enhanced:img
{alt}
class={cleanClass('size-full rounded-xl object-cover aspect-square', className)}
data-testid="album-image"
draggable="false"
loading={preload ? 'eager' : 'lazy'}
sizes="min(271px,186px)"
src="#lib/assets/no-thumbnail.png"
/>