The imageapi_gd_image_resize function is incorrectly setting the $image->info['height'] parameter to $width.

At first I was having problems with crop, but after debugging, this is where the issue is at.

Attached is a patch that will fix this issue.

See http://drupal.org/node/237949 for more information.

-- Jason

CommentFileSizeAuthor
imageapi_gd_scale_fix.patch459 bytesjsm174

Comments

dopry’s picture

Status: Needs review » Fixed

committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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