-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: multiple image resizing options #11
Comments
Thanks for your Feature Request, could you please submit some sample/dream configuration so I can better understand what you're asking for. |
+1 Config could look like:
right not, this produces a fatal error:
|
Hi, I was having the same problem. The solution is expand:true in files settings. My example:
module.exports = function (grunt) {
grunt.initConfig({
image_resize: {
options: {
width: 1000,
quality: 0.9,
overwrite: true,
},
files: {
expand: true,
src: ['*.jpg'],
dest: 'upload/',
ext: '.jpg'
}
}
});
|
This still doesn't seem to work. I'm getting the following error:
It seems to be |
Nevermind, I've sorted it. I used the same syntax as the Might be worth popping this in the docs.
|
I'm using #16 for several months. |
It would be fantastic if you could generate lots of different size images, with a configurable naming convention for the output.
The text was updated successfully, but these errors were encountered: