Fatal error: Uncaught ImagickException: The path is a directory: /home/atomstee/mypump.by/files/originals/ in /home/atomstee/mypump.by/api/Image.php:308 Stack trace: #0 /home/atomstee/mypump.by/api/Image.php(308): Imagick->readimage('/home/atomstee/...') #1 /home/atomstee/mypump.by/api/Image.php(60): Image->image_constrain_imagick('/home/atomstee/...', '/home/atomstee/...', NULL, NULL, NULL, '50', '50', 0.5, 0.15) #2 /home/atomstee/mypump.by/resize/resize.php(21): Image->resize('bl32-220-1.800x...') #3 {main} thrown in /home/atomstee/mypump.by/api/Image.php on line 308