{file?.original_name ?? ''}
{#if previewSrc}
{:else if loading}
{:else}
{/if} {#if prevId}
prevId && onNavigate(prevId)} aria-label="Previous file" >
{/if} {#if nextId}
nextId && onNavigate(nextId)} aria-label="Next file" >
{/if}
{#if error}
{error}
{/if} {#if file}
{file.mime_type}
·
Added {formatDatetime(file.created_at)}
Notes
(dirty = true)} placeholder="Add notes…" >
Date taken
(dirty = true)} />
Public
{ isPublic = !isPublic; dirty = true; }} role="switch" aria-checked={isPublic} aria-label="Public" >
{saving ? 'Saving…' : 'Save changes'}
Tags
{#if tagsLoaded}
{:else}
Loading tags…
{/if}
{#if exifEntries.length > 0}
EXIF
{#each exifEntries as [key, val]}
{key}
{formatExifValue(val)}
{/each}
{/if} {:else if !loading}
File not found.
{/if}