From 061f6f556a1da5a3402d7b12c9f4445abeb27052 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Mon, 18 Aug 2025 16:10:59 +0700 Subject: fix: scale down limits for webp --- internal/lightgallery/html_renderer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lightgallery/html_renderer.go b/internal/lightgallery/html_renderer.go index 10258b1..72715cf 100644 --- a/internal/lightgallery/html_renderer.go +++ b/internal/lightgallery/html_renderer.go @@ -79,7 +79,7 @@ func (r *LightGalleryHTMLRenderer) renderLightGallery(w util.BufWriter, source [ downloadUrl: "https://f003.backblazeb2.com/file/sayana-photos/full/%s", alt: "%s", - responsive: "https://f003.backblazeb2.com/file/sayana-photos/webp-320p/%s.webp 600, https://f003.backblazeb2.com/file/sayana-photos/webp-560/%s.webp 900, https://f003.backblazeb2.com/file/sayana-photos/webp-800p/%s.webp 1366, https://f003.backblazeb2.com/file/sayana-photos/webp-1200p/%s.webp 1920, https://f003.backblazeb2.com/file/sayana-photos/webp-1600p/%s.webp 2560", + responsive: "https://f003.backblazeb2.com/file/sayana-photos/webp-320p/%s.webp 384, https://f003.backblazeb2.com/file/sayana-photos/webp-560/%s.webp 672, https://f003.backblazeb2.com/file/sayana-photos/webp-800p/%s.webp 960, https://f003.backblazeb2.com/file/sayana-photos/webp-1200p/%s.webp 1440, https://f003.backblazeb2.com/file/sayana-photos/webp-1600p/%s.webp 1920", thumb: "https://f003.backblazeb2.com/file/sayana-photos/webp-320p/%s.webp", subHtml: `+"`"+`