You have to make service call as part of PhotoChooserTaskCompleted
callback.
//run function convertToBase64 when an image is choosed
private void PhotoChooserTaskCompleted(object sender, PhotoResult e)
{
if (e.TaskResult == TaskResult.OK)
{
// send data to server here
convertToBase64(e);
}
}