Forum Replies Created

Viewing 1 replies (of 1 total)
  • Tukaram Kalane

    (@tukaram-kalane)

    Use This: Had same problem… It worked for me…

    $result = wp_get_attachment_image_src($addbooks['book-image']);
    $url = $result[0];
    echo '<img src="'. $url.'" >';

    where,
    ‘$addbooks’ : name of metabox.
    ‘book-image’ : name of image field.
    It will show image in thumbnail for showing full image. USe:
    $result = wp_get_attachment_image_src($addbooks['book-image'],'full');

    Hope it will help you…
    Happy Coding…!!! -TK

Viewing 1 replies (of 1 total)