From 507357ba595c012848d3a1bdf0c9b48ad6e73ce7 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 23 Dec 2023 16:22:48 +0100 Subject: [PATCH] PhotosIndex: adjust thumbnail dimensions to better reflect usage --- templates/PhotosIndex.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/PhotosIndex.php b/templates/PhotosIndex.php index 564143b..b0105a5 100644 --- a/templates/PhotosIndex.php +++ b/templates/PhotosIndex.php @@ -15,23 +15,23 @@ class PhotosIndex extends Template protected $previous_header = ''; protected $url_suffix; - const PANORAMA_WIDTH = 1280; + const PANORAMA_WIDTH = 1256; const PANORAMA_HEIGHT = null; - const PORTRAIT_WIDTH = 400; - const PORTRAIT_HEIGHT = 645; + const PORTRAIT_WIDTH = 387; + const PORTRAIT_HEIGHT = 628; - const LANDSCAPE_WIDTH = 850; - const LANDSCAPE_HEIGHT = 640; + const LANDSCAPE_WIDTH = 822; + const LANDSCAPE_HEIGHT = 628; - const DUO_WIDTH = 618; - const DUO_HEIGHT = 412; + const DUO_WIDTH = 604; + const DUO_HEIGHT = 403; const SINGLE_WIDTH = 618; const SINGLE_HEIGHT = 412; - const TILE_WIDTH = 400; - const TILE_HEIGHT = 300; + const TILE_WIDTH = 387; + const TILE_HEIGHT = 290; public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = false, $show_headers = true) {