Append the class id when uploading class images.