Changing the photo grabbing architecture a wee bit.

Would like to reuse the code to create a sitemap XML for the Googles.