New bootstrap-based layout #30
@ -100,7 +100,7 @@ class PhotosIndex extends Template
|
||||
else
|
||||
echo ' srcset="', $image->getThumbnailUrl($image->width(), $image->height(), true), ' 2x"';
|
||||
|
||||
echo ' alt="" title="', $image->getTitle(), '">';
|
||||
echo ' alt="" title="', $image->getTitle(), '" style="aspect-ratio: ', $image->ratio(), '">';
|
||||
|
||||
if ($this->show_labels)
|
||||
echo '
|
||||
|
Loading…
Reference in New Issue
Block a user