Skip to content
Browse files

option renamed: customArgs -> imageArgs

  • Loading branch information...
1 parent 2faadb8 commit d3d1611f424180a5843760826da85991fcc614e5 @aguidrevitch committed Jan 1, 2013
Showing with 9 additions and 3 deletions.
  1. +5 −0 History.md
  2. +1 −0 README.md
  3. +1 −1 lib/uploadhandler.js
  4. +2 −2 package.json
View
5 History.md
@@ -1,3 +1,8 @@
+0.0.8 / 2013-01-01
+==================
+
+ * #11 update resize with cropping custom options : imageArgs
+
0.0.7 / 2012-12-25
==================
View
1 README.md
@@ -234,6 +234,7 @@ Other options and their default values:
height: 80
}
},
+ imageArgs: ['-auto-orient'],
accessControl: {
allowOrigin: '*',
allowMethods: 'OPTIONS, HEAD, GET, POST, PUT, DELETE'
View
2 lib/uploadhandler.js
@@ -109,7 +109,7 @@ module.exports = function (options) {
height: opts.height,
srcPath: options.uploadDir() + '/' + fileInfo.name,
dstPath: options.uploadDir() + '/' + version + '/' + fileInfo.name,
- customArgs: opts.customArgs || ['-auto-orient']
+ customArgs: opts.imageArgs || ['-auto-orient']
}, finish);
});
}
View
4 package.json
@@ -8,7 +8,7 @@
"express",
"middleware"
],
- "version": "0.0.7",
+ "version": "0.0.8",
"dependencies": {
"formidable": ">=1.0.11",
"imagemagick": ">=0.1.2",
@@ -28,6 +28,6 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
- "_id": "jquery-file-upload-middleware@0.0.7",
+ "_id": "jquery-file-upload-middleware@0.0.8",
"license": "MIT"
}

0 comments on commit d3d1611

Please sign in to comment.
Something went wrong with that request. Please try again.