? imageapi_258315.patch
? status_report_page_typo.patch
? status_report_page_typo.patch.1
Index: imageapi_gd.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_gd.module,v
retrieving revision 1.13
diff -r1.13 imageapi_gd.module
85c85,91
<   if (!imagecopyresampled($res, $image->res, 0, 0, 0, 0, $width, $height, $image->info['width'], $image->info['height'])) {
---
>   $src_width = min($image->info['width'], $width);
>   $src_height = min($image->info['height'], $height);
>   $src_x = max(0, $x);
>   $src_y = max(0, $y);
>   $dst_x = max(0, -$x);
>   $dst_y = max(0, -$y);
>   if (!imagecopyresampled($res, $image->res, $dst_x, $dst_y, $src_x, $src_y, $src_width, $src_height)) {
87a94,95
> 
>   // destroy the original image and return the modified image.
89d96
<   // update image object
