remove uploaded photos from the repository