Base64 the images to avoid URI issues.