From: Mischa POSLAWSKY Date: Thu, 24 Oct 2019 05:08:27 +0000 (+0200) Subject: foto: increase thumbnail height for exceptional rows X-Git-Tag: v4.2~10 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/52c35ce10db7cd23f9983484a2ae68d76623245c 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). --- 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.'"';