allowing deletion of photos