Deleting previous pictures from repository