Impl: Export to html with base64 image.