From 0eefcf6b0466528720ee101dbb095ac83a286c7e Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Fri, 20 Feb 2026 19:06:18 +0300 Subject: [PATCH] Public: defer category image fetch and unblock card navigation Avoid navigation stalls on cold loads by delaying thumbnail requests until cards are near viewport. Stop in-flight page downloads on card click so opening a photo page is immediate even while list images are still loading. --- index.php | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 219d733..a2f00e7 100644 --- a/index.php +++ b/index.php @@ -239,7 +239,7 @@ function outputWatermarked(string $path, string $mime): never
-
+
AI

@@ -257,6 +257,34 @@ function outputWatermarked(string $path, string $mime): never