syamilmj / Aqua-Resizer

Resize WordPress images on the fly
502 stars 208 forks source link

Uploading a .gif causes a fatal error #96

Open tomusborne opened 7 years ago

tomusborne commented 7 years ago

If a .gif is run through the resizer, this is printed on the page:

Fatal error: Call to undefined method WP_Image_Editor_Imagick::get_error_message()

If it isn't possible to resize .gifs, maybe a different error can be printed?

awps commented 7 years ago

The problem here is not with the image type. Looks like the resize functions from WP are not loaded. I've just tested it with a GIF image and all is OK(WP 4.7.5).