Closed (fixed)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Apr 2008 at 12:45 UTC
Updated:
6 Mar 2009 at 01:11 UTC
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
Comment #1
sunThis was already fixed elsewhere. Thanks for reporting anyway!