How to disable/block a device from asking “Take photo” option during file uploads

假装没事ソ 提交于 2021-01-01 07:51:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!