diff --git a/templates/AlbumIndex.php b/templates/AlbumIndex.php index c3118845..29a856bf 100644 --- a/templates/AlbumIndex.php +++ b/templates/AlbumIndex.php @@ -46,8 +46,17 @@ class AlbumIndex extends SubTemplate '; if (isset($album['thumbnail'])) + { + $thumbs = []; + foreach ([1, 2] as $factor) + $thumbs[$factor] = $album['thumbnail']->getThumbnailUrl( + static::TILE_WIDTH * $factor, static::TILE_HEIGHT * $factor, true, true); + echo ' - '; + '; + } else echo ' ';