Custom Fields
Re-Envisioned
Support General Problem retrieving image data using image_upload meta field in while loop Reply To: Problem retrieving image data using image_upload meta field in while loop

#13658

Ok Thanks I have Fixed I was passing wrong variable in function.

$my_main_images = rwmb_meta( 'gallery_upload', array( 'size' => 'full', 'limit' => 1 ) ,$list_id );
        $my_main_image = reset( $main_images );

it must be

$my_main_images = rwmb_meta( 'gallery_upload', array( 'size' => 'full', 'limit' => 1 ) ,$list_id );
        $my_main_image = reset( $my_main_images );

Thanks