plupload_image as URL instead of ID

Support General plupload_image as URL instead of ID

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #961
    carassiuscarassius
    Participant

    Is there anyway to get metabox to output the full url of an image rather than ID?

    #963
    Anh TranAnh Tran
    Keymaster

    Yes, of course. You can use the following code to output the full URL of an image:

    $image = rwmb_meta( 'field_id', 'type=image' );
    echo $image['full_url'];

    For more information, please read this documentation.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘plupload_image as URL instead of ID’ is closed to new replies.