Added logging to upload image for debugging data sent from iOS