Replace thumbnail with resized type

This commit is contained in:
2026-01-28 14:41:26 +01:00
parent 91de1b43ef
commit 7c1659effa
3 changed files with 6 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export default function ArtworkThumbGallery({
<ArtworkImageCard
mode="tile"
href={`${hrefBase}/single/${a.id}?from=animal-studies`}
src={`/api/image/thumbnail/${a.file.fileKey}.webp`}
src={`/api/image/resized/${a.file.fileKey}.webp`}
alt={a.altText ?? a.name ?? "Artwork"}
width={a.metadata?.width ?? 0}
height={a.metadata?.height ?? 0}