Web-side upload picture case, including the function: After compression upload, resolved the picture upside down (facing error) problem, Android phone can not be shot, Android phone part of the picture can not be uploaded
Reference JS:
Jquery.js
Exif.js
Localresizeimg.js
Full Test example code package download
A: In this way, it takes a long time for the Chrome browser to react (disconnect the network and react quickly).
<input type= "File" id= "file" style= "Display:none" >
Second: In this way, some images of Android phone can not be uploaded (and can not use the current shooting function: that can only upload the picture on the phone)
<input type= "File" accept= "image/jpeg,image/png" id= "file" style= "Display:none" >
Three: The following way, solve all the above problems
<input type= "File" accept= "image/*" id= "file" style= "Display:none" >
Some small problems with your phone uploading pictures