added ability to find and loop through all the image url from a set of posts