Set Custom Image Size

Support MB Builder Set Custom Image Size

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1793
    ambr-digitalambr-digital
    Participant

    Is it posable to set a custom image size with with the Metabox image uploader similar to the the_post_thumbnail( array(850,100) );

    How would do this?

    $images = rwmb_meta( 'uploaded-image', 'type=image&size=full' );
    foreach ( $images as $image ){
        echo "<img />";
    }
    #1804
    Anh TranAnh Tran
    Keymaster

    Hi, the extension and the plugin Meta Box does not set image size. The helper function (in the example above) has a parameter to get custom size for image.

    Not sure what are you going to do with this, but why don't you just create new image size in your theme? It's something belong to theme's functionality.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Set Custom Image Size’ is closed to new replies.