Closed Starefossen closed 9 years ago
Currently resized image versions are saved to the same directory as the source image. This feature would make this behaviour configurable to a specific directory.
var options = { prefix: "im-" }; var image = './foo.jpg'; resize(image, versions, options, function(err, versions) { console.log(versions[0].path); // ./im-foo-small.jpg });
Currently resized image versions are saved to the same directory as the source image. This feature would make this behaviour configurable to a specific directory.