Using json data for base64 images.