We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Images missing after exporting to html from docx


We have exported a DOCX document to HTML using ASPOSE.Word and created a html file.

When we browse the exported html file in IE,then we are missing a image.

Attached the DOCX file(Image1.docx) from which we have created HTML file.

Image1.txt - contains the html content(Since we could not upload HTML file , we have changed the extention to txt.)

Please change the txt extention to html and browse in IE.

Used below code to export to html from DOCX bytes.

HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Html);

options.ExportImagesAsBase64 = true;

options.ExportHeadersFootersMode = Aspose.Words.Saving.ExportHeadersFootersMode.None;

doc.Save(outStream, options);

So would you please check the docx and html content,please let us know, if at all we are any mistake in the code?

Thank you.


Hi Rathinam,

I tried opening your attached HTML file in different browsers including IE but could not notice this issue. I can see all images in any browser. Can you please share which version of IE are you using?

Best Regards,


Thank very much for your reply .We are using IE8.0



Hi Rathinam,

IE8 has 32kb limit for base64 images. Can you please try a later version or another browser?

Best Regards,