From: Michael Date: Fri, 8 Dec 2017 05:44:43 +0000 (+0000) Subject: Bugfix to PR 4036 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79c841a260626cee2aed935f22f29efb7a80c16d;p=friendica.git Bugfix to PR 4036 --- diff --git a/src/Object/Image.php b/src/Object/Image.php index 79fbf3a990..f5ba1537af 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -350,7 +350,7 @@ class Image // FIXME - implement horizantal bias for scaling as in followin GD functions // to allow very tall images to be constrained only horizontally. - $this->image->scaleDown($dest_width, $dest_height); + $this->image->scaleImage($dest_width, $dest_height); } while ($this->image->nextImage()); // These may not be necessary any more