From 66478c59225f4b61cd6d35fc6430227b32cd7678 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 10 Nov 2023 21:57:53 +0100 Subject: [PATCH] AlbumIndex: use blurred images for albums as well --- templates/AlbumIndex.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/AlbumIndex.php b/templates/AlbumIndex.php index 676b871..aa48385 100644 --- a/templates/AlbumIndex.php +++ b/templates/AlbumIndex.php @@ -42,7 +42,7 @@ class AlbumIndex extends Template { echo '
-
'; +
'; if ($this->show_edit_buttons) echo ' @@ -58,15 +58,20 @@ class AlbumIndex extends Template $thumbs[$factor] = $album['thumbnail']->getThumbnailUrl( static::TILE_WIDTH * $factor, static::TILE_HEIGHT * $factor, true, true); - echo ' + foreach (['normal-photo', 'blur-photo'] as $className) + { + echo ' '; + } } else { echo ' '; }