Added the ability to delete photos.