Added uploadImage() and uploadVideo()