From 647405d99280e63341714b81ffde8ecf37b8fa27 Mon Sep 17 00:00:00 2001 From: T0RNATO Date: Thu, 26 Jun 2025 22:21:44 +1000 Subject: [PATCH] feat(frontend): show already-loaded low-res gallery image while full-res image is loading --- .../src/pages/[type]/[id]/gallery.vue | 48 ++++++++++++++----- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/apps/frontend/src/pages/[type]/[id]/gallery.vue b/apps/frontend/src/pages/[type]/[id]/gallery.vue index 4f355236ce..c74257d89f 100644 --- a/apps/frontend/src/pages/[type]/[id]/gallery.vue +++ b/apps/frontend/src/pages/[type]/[id]/gallery.vue @@ -137,15 +137,18 @@
+
@@ -165,9 +168,7 @@ class="open circle-button" target="_blank" :href=" - expandedGalleryItem.raw_url - ? expandedGalleryItem.raw_url - : 'https://cdn.modrinth.com/placeholder-banner.svg' + expandedGalleryItem.raw_url || 'https://cdn.modrinth.com/placeholder-banner.svg' " >