From 10f016841c612c6cef86cff91f45baea74c5d3d6 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 28 Jul 2013 18:54:40 -0700 Subject: cleaning up issues reported in logs --- include/photo/photo_imagick.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/photo') diff --git a/include/photo/photo_imagick.php b/include/photo/photo_imagick.php index 2737c8f69..3f84fd06c 100644 --- a/include/photo/photo_imagick.php +++ b/include/photo/photo_imagick.php @@ -153,14 +153,14 @@ class photo_imagick extends photo_driver { do { $this->image->cropImage($w, $h, $x, $y); /** - * We need to remove the canva, + * We need to remove the canvas, * or the image is not resized to the crop: * http://php.net/manual/en/imagick.cropimage.php#97232 */ $this->image->setImagePage(0, 0, 0, 0); } while ($this->image->nextImage()); - $this->doScaleImage($max); + $this->doScaleImage($max,$max); } public function imageString() { -- cgit v1.2.3