From d3cb750874e4dcdbcddd9ffb37d8c61431c3ca54 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 9 Mar 2019 12:50:16 +0100 Subject: [PATCH] Default to centre cropping for portrait layout. --- templates/PhotosIndex.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/PhotosIndex.php b/templates/PhotosIndex.php index 70ee3dc..e10436b 100644 --- a/templates/PhotosIndex.php +++ b/templates/PhotosIndex.php @@ -130,7 +130,7 @@ class PhotosIndex extends SubTemplate
'; - $this->photo($image, static::PORTRAIT_WIDTH, static::PORTRAIT_HEIGHT, 'top'); + $this->photo($image, static::PORTRAIT_WIDTH, static::PORTRAIT_HEIGHT, 'centre'); echo '
@@ -142,7 +142,7 @@ class PhotosIndex extends SubTemplate echo '
'; - $this->photo($image, static::TILE_WIDTH, static::TILE_HEIGHT, 'top'); + $this->photo($image, static::TILE_WIDTH, static::TILE_HEIGHT, 'centre'); echo '
';