Skip to content

Commit

Permalink
Use compiled technical metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Jul 22, 2024
1 parent 034076b commit 66acb12
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/components/fields/Eas.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
import { fieldData } from "../../lib/easydbHelpers";
import { Card } from "flowbite-svelte";
import { Card, P } from "flowbite-svelte";
export let data;
export let field;
Expand All @@ -18,7 +18,15 @@

{#each fdata as image}
<Card img={has_preview_image(image) ? image.versions["preview"].url : null} horizontal class="max-w-full">
{image.original_filepath}
{image.versions["preview"].dpi} DPI
<P>
{image.original_filepath}
</P>
<P>
{#if image.versions.original.compiled}
{image.versions.original.compiled}
{:else}
Need to freestyle information here.
{/if}
</P>
</Card>
{/each}

0 comments on commit 66acb12

Please sign in to comment.