goto('/files')} aria-label="Back to files">
{file?.original_name ?? ''}
{#if previewSrc}
{:else if loading}
{:else}
{/if} {#if prevFile}
navigateTo(prevFile)} aria-label="Previous file" >
{/if} {#if nextFile}
navigateTo(nextFile)} 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 exifEntries.length > 0}
EXIF
{#each exifEntries as [key, val]}
{key}
{String(val)}
{/each}
{/if} {:else if !loading}
File not found.
{/if}