That was a particularly fun bug to track down but the crop you end up with is 222x183++! which leads to crop doing tiling which will, in turn, mean that the destination file won't exist only destination-0.jpg, destination-1.jpg etc and that will mean that image module goes berserk and issues a HTTP 500 which is a WSOD often.

CommentFileSizeAuthor
crop-tiling.patch818 byteschx

Comments

chx’s picture

If you want to reproduce, http://drupal.org/project/imagecrop will help you :)

chx’s picture

Status: Needs review » Fixed

Fixed and cleaned up the code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.