Add 'no thumb' vector image for use while loading

This commit is contained in:
2023-03-11 17:16:53 +01:00
parent e6f7476037
commit 54c4294d08
5 changed files with 15 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ class PhotosIndex extends Template
else
echo ' srcset="', $image->getThumbnailUrl($image->width(), $image->height(), true), ' 2x"';
echo ' alt="" title="', $image->getTitle(), '" style="aspect-ratio: ', $image->ratio(), '">';
echo ' alt="" title="', $image->getTitle(), '" style="width: ', $width, 'px; height: ', $height, 'px">';
if ($this->show_labels)
echo '