1) upload a picture to php server
1) json file