diff options
| author | 2025-08-18 16:10:59 +0700 | |
|---|---|---|
| committer | 2025-08-18 16:10:59 +0700 | |
| commit | 061f6f556a1da5a3402d7b12c9f4445abeb27052 (patch) | |
| tree | 19b6107c4ebcb35d1efa811ab78a17c596d77c4a | |
| parent | 647be7ed9b50b15d9c4e4ac47776f64d544b27e6 (diff) | |
| download | web-061f6f556a1da5a3402d7b12c9f4445abeb27052.tar.gz web-061f6f556a1da5a3402d7b12c9f4445abeb27052.zip | |
fix: scale down limits for webp
| -rw-r--r-- | internal/lightgallery/html_renderer.go | 2 |
1 files changed, 1 insertions, 1 deletions
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: `+"`"+`<div class="flex flex-row light-gallery-captions"> |