Node.js based forum software built for the modern web
fixed #1515
Julian Lam4e0ccbf0c6c7
diff --git a/src/image.js b/src/image.jsindex 0d6fd8c75b..73bb85599d 100644--- a/src/image.js+++ b/src/image.js@@ -15,10 +15,12 @@ image.resizeImage = function(path, extension, width, height, callback) {gm().in(path).in('-coalesce').in('-resize')- .in(width+'x'+height)+ .in(width+'x'+height+'^').write(path, done);} else {gm(path)+ .in('-resize')+ .in(width+'x'+height+'^').gravity('Center').crop(width, height).write(path, done);