syamilmj / Aqua-Resizer

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

Improved error handling #60

Closed Flushot closed 9 years ago

Flushot commented 9 years ago

This plugin was silently failing when my server didn't have GD or ImageMagick installed. The aq_resize() function was simply returning false. I've added more detailed error logging (and the option to raise an exception if Aq_Resize::$throwOnError is set).

Summary of changes: