Just checking to see if there is an easy way right now to get all the images with a certain tag as part of a theme I am creating. Thinking this would be something like getImagesWithTag("tag"), but haven't seen any way in the docs I can reproduce that. Just wanted to see if this was already done before I start writing my own custom function. Any guidance on a custom function would be appreciated as well. Thanks!
Comments
I have done a tag search using
$search->searchFieldsAndTags(Array("JB001"), "images", "id", "desc") and am getting a couple of image results, but now I want to be able to print thumbnails of those results. I have been going through the documentation and the nearest thing I can find is newImage(). Is that the correct way to get the image object so that I can get the image thumbnail? Any code would be appreciated.