User-2034328377 posted
Hi,
You can avoid this by specifying that images are to be saved in Base64 format to HTML using HtmlSaveOptions.ExportImagesAsBase64 property. When this property is set to true image data is exported directly on the img elements and
separate files are not created. Here is sample code:
Document doc = new Document(MyDir + @"in.docx");
HtmlSaveOptions opts = new HtmlSaveOptions(SaveFormat.Html);
opts.ExportImagesAsBase64 = true;
opts.PrettyFormat = true;
doc.Save(MyDir + @"15.9.0.html", opts);