10/12/2015 at 12:53 pm
#350295
Guest
Thanks for the quick reply, Steve. I’m still a bit stymied, though!
Here’s why: There is an “Images” tab on the Settings page that lets me specify sizes for Thumbnail, Medium and Large images.
I assume there’s a way to tell the template which size to use, rather than specifying height and width when calling the function. I expect this to work:
echo $entry->getImage(array('image'=>'photo', 'preset'=>'large'));
But I get the message “Photo present is not valid” on the front-end. Where am I going wrong?
Thanks,
Aaron.
