From 7c1659effaeb13a90224a9ae5a442b43b707f906 Mon Sep 17 00:00:00 2001 From: Citali Date: Wed, 28 Jan 2026 14:41:26 +0100 Subject: [PATCH] Replace thumbnail with resized type --- next.config.ts | 3 +++ src/components/artworks/ArtworkImageCard.tsx | 2 ++ src/components/artworks/ArtworkThumbGallery.tsx | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index af9080b..877d737 100644 --- a/next.config.ts +++ b/next.config.ts @@ -11,6 +11,9 @@ module.exports = { }, proxyClientMaxBodySize: '50mb', }, + images: { + qualities: [25, 50, 75, 100], + }, output: "standalone", } diff --git a/src/components/artworks/ArtworkImageCard.tsx b/src/components/artworks/ArtworkImageCard.tsx index 0cdfad1..4c9b03a 100644 --- a/src/components/artworks/ArtworkImageCard.tsx +++ b/src/components/artworks/ArtworkImageCard.tsx @@ -110,6 +110,7 @@ export function ArtworkImageCard({ className={["object-cover transition duration-300", imageClassName ?? ""].join(" ")} sizes={sizes} priority={priority} + quality={100} /> ) : ( )} diff --git a/src/components/artworks/ArtworkThumbGallery.tsx b/src/components/artworks/ArtworkThumbGallery.tsx index 439332f..34a8482 100644 --- a/src/components/artworks/ArtworkThumbGallery.tsx +++ b/src/components/artworks/ArtworkThumbGallery.tsx @@ -81,7 +81,7 @@ export default function ArtworkThumbGallery({