问题
I have a serious issue on multiple file uploads. I have a form that has multiple file upload field. It normally works well in the desktop devices. but when it comes to mobile devices, it asks the user to access camera to take photos.
The problem is whenever uses try using a camera to take photo and upload, it only allows one single file(image) for the user to upload. if the user tries capturing multiple images, only the first image data getting passed through the form.
I use AJAX/PHP to upload the file and jQuery to validate it.
Is there any possible way that I can disable/block users from accessing camera to take a picture. Or if it's not possible, how can I pass all the captured image data through the form.
来源:https://stackoverflow.com/questions/53095463/how-to-disable-block-a-device-from-asking-take-photo-option-during-file-upload