Added ability to delete photos in gallery.