Skip to content

Commit ad0261b

Browse files
committed
aguidrevitch#4 fixed - orientation for iphone / ipad photos
1 parent 5e814a3 commit ad0261b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/uploadhandler.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ module.exports = function (options) {
108108
width: opts.width,
109109
height: opts.height,
110110
srcPath: options.uploadDir() + '/' + fileInfo.name,
111-
dstPath: options.uploadDir() + '/' + version + '/' + fileInfo.name
111+
dstPath: options.uploadDir() + '/' + version + '/' + fileInfo.name,
112+
customArgs: ['-auto-orient']
112113
}, finish);
113114
});
114115
}

0 commit comments

Comments
 (0)