Skip to content

Commit

Permalink
Merge branch '2.x' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel authored Dec 4, 2023
2 parents ee0c49f + 4404dff commit 91032ce
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ protected function getCanvasDimensions(string $iiif_url, FieldItemInterface $ima

// If this is a TIFF AND we don't know the width/height
// see if we can get the image size via PHP's core function.

if ($mime_type === 'image/tiff' && (!$width || !$height)) {
$uri = $image->entity->getFileUri();
$path = $this->fileSystem->realpath($uri);
Expand Down

0 comments on commit 91032ce

Please sign in to comment.