Rendering the images for the Photo Gallery