Added Functionality for a Photo Gallery