X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FImages.php;h=ff5d7f9436624ed307fb67db53086934064f2529;hp=f550e0e1b02e5347ee1e739e105f7b12bdea9ef4;hb=d51035fd82660b0408837bf0d11bdb6e3dedf6e9;hpb=e819605a502a47e3dfd3efe910a55afe61f1da3e diff --git a/DataObjects/Images.php b/DataObjects/Images.php index f550e0e1..ff5d7f94 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -838,7 +838,8 @@ class Pman_Core_DataObjects_Images extends DB_DataObject $width = $this->width; $height = $this->height; - + + print_R($width);exit; if(!empty($scaleWidth)){ $width = $scaleWidth; @@ -855,7 +856,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject } } - $im = imagecreatefromstring($data, IMG_NEAREST_NEIGHBOUR); + $im = imagecreatefromstring($data); if (($scaled = imagescale($im, $width, $width)) != false) { ob_start();