AlbumIndex: set thumbnail dimensions for 'no thumb' images too

This commit is contained in:
Aaron van Geffen 2023-03-11 21:46:23 +01:00
parent b8c53d7d4d
commit 4c928af9ad

View File

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