From 52c35ce10db7cd23f9983484a2ae68d76623245c Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 24 Oct 2019 07:08:27 +0200 Subject: [PATCH 1/1] foto: increase thumbnail height for exceptional rows Even with the configured maximum of 200*1.25=250px, resulting sizes appear to regularly exceed that, with anything up to 262px being quite common and easily reproducible (in Lijtweg historisch). --- foto/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foto/index.php b/foto/index.php index e9b9521..4b61f37 100644 --- a/foto/index.php +++ b/foto/index.php @@ -36,7 +36,7 @@ function showthumb($path) { // assume all album entries are symlinks to archive originals $target = preg_replace('{^(\.\./)*}', '', readlink($path)); - $thumb = 'thumb/250/' . $target; + $thumb = 'thumb/262/' . $target; @list ($order, $size, $title) = explode(':', pathinfo($path, PATHINFO_FILENAME), 3); $imgtag = 'img src="/'.$thumb.'"'; -- 2.30.0