v1.18.x
barisusakli 11 years ago
parent 53021d31b0
commit 8ce3e44d7b

@ -19,7 +19,8 @@ image.resizeImage = function(path, extension, width, height, callback) {
.write(path, done);
} else {
gm(path)
.resize(width, height)
.gravity('Center')
.crop(width, height)
.write(path, done);
}
};

Loading…
Cancel
Save