From b959f30882712c0e4ac72d460d50d0a222765153 Mon Sep 17 00:00:00 2001 From: mappu Date: Wed, 17 May 2023 19:08:36 +1200 Subject: [PATCH] preview: use browser-side lazy loading for very large galleries --- preview.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preview.go b/preview.go index c3422e2..fd02226 100644 --- a/preview.go +++ b/preview.go @@ -124,7 +124,7 @@ html, body { tmpl += `
- +
` + fmt.Sprintf("%d", len(childIDs)) + ` image(s)
@@ -142,7 +142,7 @@ html, body { tmpl += `
- +
Name: ` + html.EscapeString(m.Filename) + `