Upload pictures with the file tag in input. Only single pictures are allowed to be uploaded at a time. The problem of taking pictures is automatically enabled in ios.

The

code is as follows:
clipboard.png

clipboard.png
now you only need to call the mobile photo album and upload the leaflet each time. It can be done normally on Android, but ios will automatically pop up a menu, take photos or select photo albums. Baidu has said that it cannot cancel the original ios function and cannot upload photos directly. It should be the wrong format for photos to generate pictures, but the customer requirements are unified. I would like to ask js whether to determine whether the ios setting and directly call the photo album, or how to handle and upload the photos generated by the photo, ask for advice.

Jan.09,2022

I don't know what kind of test you use, but I just open the camera to take pictures in the browser

<input type="file" capture="camera" />
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a9a6-2c235.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a9a6-2c235.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?