PhotosIndex: adjust thumbnail dimensions to better reflect usage

This commit is contained in:
Aaron van Geffen 2023-12-23 16:22:48 +01:00
parent 52fad8d1b9
commit 507357ba59

View File

@ -15,23 +15,23 @@ class PhotosIndex extends Template
protected $previous_header = ''; protected $previous_header = '';
protected $url_suffix; protected $url_suffix;
const PANORAMA_WIDTH = 1280; const PANORAMA_WIDTH = 1256;
const PANORAMA_HEIGHT = null; const PANORAMA_HEIGHT = null;
const PORTRAIT_WIDTH = 400; const PORTRAIT_WIDTH = 387;
const PORTRAIT_HEIGHT = 645; const PORTRAIT_HEIGHT = 628;
const LANDSCAPE_WIDTH = 850; const LANDSCAPE_WIDTH = 822;
const LANDSCAPE_HEIGHT = 640; const LANDSCAPE_HEIGHT = 628;
const DUO_WIDTH = 618; const DUO_WIDTH = 604;
const DUO_HEIGHT = 412; const DUO_HEIGHT = 403;
const SINGLE_WIDTH = 618; const SINGLE_WIDTH = 618;
const SINGLE_HEIGHT = 412; const SINGLE_HEIGHT = 412;
const TILE_WIDTH = 400; const TILE_WIDTH = 387;
const TILE_HEIGHT = 300; const TILE_HEIGHT = 290;
public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = false, $show_headers = true) public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = false, $show_headers = true)
{ {