From 9b70f945ff50585bc1ed8752ffc0ec69ea784bb9 Mon Sep 17 00:00:00 2001 From: Aria <hello@buymymojo.net> Date: Sun, 11 May 2025 22:44:03 +1000 Subject: [PATCH] change up image gen for gallery --- src/pages/gallery/[id].astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/gallery/[id].astro b/src/pages/gallery/[id].astro index 598638f..577b56c 100644 --- a/src/pages/gallery/[id].astro +++ b/src/pages/gallery/[id].astro @@ -46,8 +46,9 @@ const sorted = images.sort((a, b) => a.src.localeCompare(b.src)); <a href={image.src}><Picture src={image} alt={`Image from ${album.data.title} album`} - formats={["avif", "webp", "jpeg"]} - quality={95} + formats={["avif", "webp"]} + fallbackFormat="jpeg" + quality={93} class="rounded-sm mb-4 border border-transparent hover:border-gray-300 transition-all duration-300 ease-in-out hover:shadow-lg" loading="lazy" decoding="async"