diff --git a/src/claviska/SimpleImage.php b/src/claviska/SimpleImage.php index fb95f44..52cabc2 100644 --- a/src/claviska/SimpleImage.php +++ b/src/claviska/SimpleImage.php @@ -131,7 +131,7 @@ public function fromFile($file) { fclose($handle); // Get image info - $info = getimagesize($file); + $info = @getimagesize($file); if($info === false) { throw new \Exception("Invalid image file: $file", self::ERR_INVALID_IMAGE); }