Reputation: 33
I've registered several custom thumbnail sizes for a site I've been given control over, and want to be able to call on them in the template code, which is set up like this
<img id="product_thumb" class="border--round" alt="Image" src="<?php echo $vehiclepods->field('featured_image')['guid']; ?>">
Where do I pass the thumbnail parameter, or even force a size?
Upvotes: 2
Views: 993
Reputation: 33
Found the missing bit between the field and the thumbnail.
featured_image._src.speedmaster_front
Upvotes: 1
Reputation: 1
Depending on your settings and pod configuration
$vehiclepods->field('featured_image.speedmaster_front')
should output the Full Image!
More details about how to get just the link or more in the Pods Documentation:
Upvotes: -1