uploadText and uploadImage