upload images and json file