Some small problems with your phone uploading pictures

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.