Support Forum
Support › MB User Profile › Bug: image module does not safe on mobileResolved
Hey,
I'm using the image module to let clients upload images of their pets, but for some reason this module doesn't save the images when I try to upload them on my mobile phone.
Any workaround / fix? Can't give you any reasons because I can't open the console on my phone :/
Thanks.
Hi,
Could you please let me know the image field which is using? The field image_advanced
or image_upload
need a high level to access the WordPress media while the field image
still works as well on the mobile phone.
Please check it out and let me know how it goes.
Yes, I'm using an image field which works on Desktop but doesn't works on mobile devices.
Here is the code: ( but I'm using the Metabox Builder )
add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' );
function your_prefix_register_meta_boxes( $meta_boxes ) {
$prefix = '';
$meta_boxes[] = array (
'title' => esc_html__( 'Ihre Haustiere', 'text-domain' ),
'id' => 'haustiere',
'fields' => array(
array (
'id' => $prefix . 'customer_pets',
'type' => 'group',
'name' => esc_html__( 'Ihre Haustiere', 'text-domain' ),
'fields' => array(
array (
'id' => $prefix . 'pet_image',
'type' => 'image',
'name' => esc_html__( 'Bild', 'text-domain' ),
'force_delete' => 1,
'max_file_uploads' => 1,
'columns' => 4,
),
...
),
'clone' => 1,
'default_state' => 'expanded',
'columns' => 12,
),
),
'type' => 'user',
);
return $meta_boxes;
}