[Resolved] display image from custom field
I’ve created a custom field where the client can upload her own thumbnails which are meant to display in a grid. I can get the object, URL, or ID text to print/echo, but I’m having trouble getting the actual images to display.
I called in the url like this:
<?php $imgurl="<?php the_field('video_thumbnail_image') ?>";
And here I’m stuck, despite lots of Googling and trying different functions, on what php will get the images from those URLs’ variables…
$imgprint = ????? ?>
…that I can then echo:
<img src="<?php echo $imgprint; ?>" width="290">
I can easily generate and call the image object or ID in the first step instead, if using URLs is part of the problem.
Thanks for your help!!
- The topic ‘[Resolved] display image from custom field’ is closed to new replies.