PDA

View Full Version : Image Upload Bug 4.4.1



Chris Brown
January 8, 2016, 06:41 PM
Hi

I had a user complain at the fact they couldn't upload an image. Due to the fact the upload button wouldn't activate after images selected.

This issue is in auto wide template.

The user was having issues using Internet Explorer.

I suggested he used another browser and it worked using chrome, i also find it works in Firefox

Curtis
January 11, 2016, 11:16 AM
Hi

I had a user complain at the fact they couldn't upload an image. Due to the fact the upload button wouldn't activate after images selected.

This issue is in auto wide template.

The user was having issues using Internet Explorer.

I suggested he used another browser and it worked using chrome, i also find it works in Firefox

Hello Chris,


You're right. The Edge browser don't show the orientation of image and it get js error.
I've fixed this problem in your website, you can update cache and check it.


The temporary solution:
1. open the file: \libs\upload\jquery.fileupload-fp.js
2. find row ~140:



blob.orientation = file.exifdata.Orientation;


3. and replace it to:



if (file.exifdata) {
blob.orientation = file.exifdata.Orientation ? file.exifdata.Orientation : '';
}