Support › Meta Box Builder › Image Advanced WPML translationResolved
Hi, i have translated all my same custom field without problem, but for some reason that I can't understand, for two only custom image field when I use this code
$room_description__image = rwmb_meta( 'room_primaryinfos__description_image', array( 'size' => 'full','limit' => 1 ) );
in my default language the function rwmb_meta return correctly the full image array, but when I switch to another language the function return only the image ID.
Have you any idea about it?
I didn't see the issue on my end, screen record https://share.getcloudapp.com/OAuQAkzY. If it works for other fields, the image_advanced also works. You can try to use the WordPress function wp_get_attachment_image() to get the image info based on the image ID.
I solved using wp_get_attachment_image() for the English translation only and for two field only. It's a very strange thing because for all other custom image advacend everything works well. Thanks.