diff --git a/lib/Artwork.php b/lib/Artwork.php index af45573f..1f3a37f0 100644 --- a/lib/Artwork.php +++ b/lib/Artwork.php @@ -250,8 +250,7 @@ class Artwork{ protected function GetDimensions(): string{ $this->_Dimensions = ''; try{ - // Safe\getimagesize() emits a warning if the file doesn't exist - list($imageWidth, $imageHeight) = @getimagesize($this->ImageFsPath); + list($imageWidth, $imageHeight) = getimagesize($this->ImageFsPath); if($imageWidth && $imageHeight){ $this->_Dimensions = number_format($imageWidth) . ' × ' . number_format($imageHeight); }