Every time a user selects Scale and crop option for an image size in the image configuration page the module generates an error when trying to generate the derivates. Even if the output of the error says the problem was from line 160 of image.inc the actual problem is in line 809 of image.module (latest version, but was present in previous versions too). Line 809 is:

  $status = image_scale_and_crop($destination, $destination,  $size['width'], $size['height']);

but it should be

  $status = image_scale_and_crop($original_path, $destination,  $size['width'], $size['height']);

Comments

sun’s picture

Status: Active » Closed (fixed)

This was already fixed elsewhere. Thanks for reporting anyway!