]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix to PR 4036
authorMichael <heluecht@pirati.ca>
Fri, 8 Dec 2017 05:44:43 +0000 (05:44 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 8 Dec 2017 05:44:43 +0000 (05:44 +0000)
src/Object/Image.php

index 79fbf3a99038a1b3dd327c1f6fecf8711c1b6402..f5ba1537afc137c2afc410ed4d17b3188242bc3c 100644 (file)
@@ -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