Save base64 images in HTML and replace base64 to the image path.