forked from Public/pics
Add 'no thumb' vector image for use while loading
This commit is contained in:
@@ -55,11 +55,12 @@ class AlbumIndex extends Template
|
||||
echo '
|
||||
<img src="', $thumbs[1], '"' . (isset($thumbs[2]) ?
|
||||
' srcset="' . $thumbs[2] . ' 2x"' : '') .
|
||||
' alt="">';
|
||||
' alt="" style="width: ', static::TILE_WIDTH,
|
||||
'px; height: ', static::TILE_HEIGHT, 'px">';
|
||||
}
|
||||
else
|
||||
echo '
|
||||
<img src="', BASEURL, '/images/nothumb.png" alt="">';
|
||||
<img src="', BASEURL, '/images/nothumb.svg" alt="">';
|
||||
|
||||
if ($this->show_labels)
|
||||
echo '
|
||||
|
||||
Reference in New Issue
Block a user