AlbumIndex: don't over-fit placeholder images

This commit is contained in:
Aaron van Geffen 2023-03-13 01:37:31 +01:00
parent e48f065c25
commit c6dc6bbac4

View File

@ -61,7 +61,7 @@ class AlbumIndex extends Template
else
echo '
<img src="', BASEURL, '/images/nothumb.svg" alt="" style="width: ',
static::TILE_WIDTH, 'px; height: ', static::TILE_HEIGHT, 'px">';
static::TILE_WIDTH, 'px; height: ', static::TILE_HEIGHT, 'px; object-fit: unset">';
if ($this->show_labels)
echo '