Support › MB Custom Post Type › Load images
I created a field of type load image.
When I open the website on the iphone and click on the insert image button, three options open up:
- Load images from the library;
- Open camera
How do I make only the upload image option appear?
See the custom field images:
See the options (in Portuguese - Brazil) of the field on the iPhone:
The reason I want to remove the option to open the camera is because I placed the site inside an iphone app (using Webview). And when I open the camera on the iphone in the Video option the application closes.
There is not a solution for this question and is out of the scope of Meta Box field support. It's not possible to disable the option "camera or take photos" in iOS. Please refer to some topics
I understood. And is it possible to diEr what file types are allowed? I say this because it enables the camera but doesn't attach the video produced by the iPhone
Field image allows uploading images only. You can use the field file or video to upload videos. You can find the supported video formats of the field video here https://developer.wordpress.org/reference/functions/wp_get_video_extensions/