Skip to content

Commit b7e0e70

Browse files
committed
+ imageAutoOrientation
1 parent c0d2bba commit b7e0e70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@
444444
$Layer.find('.js-img').html('Ooops.');
445445
}
446446
else {
447-
FileAPI.Image(file).preview(300).get(function (err, img){
447+
FileAPI.Image(file).preview(300).rotate('auto').get(function (err, img){
448448
$Layer.find('.js-img').append(img);
449449
});
450450
}
@@ -480,6 +480,7 @@
480480
if( file ){
481481
file.xhr = FileAPI.upload({
482482
url: 'http://www.rubaxa.org/index.php',
483+
imageAutoOrientation: true,
483484
files: { file: file },
484485
upload: function (){
485486
FU._getEl(file).addClass('b-file_upload');

0 commit comments

Comments
 (0)