Hi,I have created a settings page with an image_upload field (single image). I would like to show the uploaded image on the homepage. According to MB Settings Page documentation to get the field value you have to write
rwmb_meta( 'field_id', array( 'object_type'=> 'setting'), 'OPTIONS_NAME' );
This returns an array with all the image sizes and other information about the uploaded image
According to image_upload field documentation, to get just one image of the desidered size you should write
$images = rwmb_meta( 'info', array( 'size' => 'thumbnail', 'limit' => 1 ) );
I have tried to merge the two options arrays with no luck
rwmb_meta( 'field_id', array( 'object_type' => 'setting', 'size' => 'thumbnail', 'limit' => 1 ), 'options_name' );
so question is: how do I get only one image of desidered size if it has been saved in an option page?
I have be missing something trivial here but I cannot get the desidered outcome
Thank you
Michele