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:
All errors are logged with error_log() to make troubleshooting easier
Errors will raise an Aq_Exception if $throwOnError is true
Old behavior of returning false is still preserved
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 ifAq_Resize::$throwOnError
is set).Summary of changes: