diff --git a/templates/PhotosIndex.php b/templates/PhotosIndex.php index 25255c5..7fbdf55 100644 --- a/templates/PhotosIndex.php +++ b/templates/PhotosIndex.php @@ -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 '