From 3e66a729aee84a8c5fc22083dd9b960a4091e2e0 Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 1 Jun 2020 00:00:00 +0000 Subject: [PATCH] Fixed helper to get image size. --- views/helpers/IiifManifest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/helpers/IiifManifest.php b/views/helpers/IiifManifest.php index f377d7ee..a42a62a6 100644 --- a/views/helpers/IiifManifest.php +++ b/views/helpers/IiifManifest.php @@ -966,7 +966,7 @@ protected function _getWidthAndHeight($filepath) unlink($tempname); } } elseif (file_exists($filepath)) { - list($width, $height) = getimagesize($filepath); + $result = getimagesize($filepath); if ($result) { list($width, $height) = $result; }