Skip to content

Commit

Permalink
Fixed helper to get image size.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-KM committed Jun 1, 2020
1 parent 7afcd05 commit 2d6d131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/helpers/IiifManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2d6d131

Please sign in to comment.