• Resolved mimmo84

    (@mimmo84)


    Hi, I’m a bit confused…I didn’t understand where I have to declare the custom size in the following code:

    $images = rwmb_meta( ‘gallery’, ‘type=image_advanced&size=YOURSIZE’ );

    I had thought of declaring it in function.php adding something like this

    add_image_size( ‘YOURSIZE’, 700, 700, true );

    but not working … someone can help me?

    Any help is much appreciated.

    Thanks

    https://www.ads-software.com/plugins/meta-box/

Viewing 1 replies (of 1 total)
  • Thread Starter mimmo84

    (@mimmo84)

    I Submitted the code

    add_image_size( 'YOURSIZE', 700, 700, true );

    after loading the images then to work I had to reinstall the theme

Viewing 1 replies (of 1 total)
  • The topic ‘how to declare the custom size’ is closed to new replies.