Adding the images to the json file