Converting Word documents with linked images to HTML

I’ve been using an older version of GemBox.Document (33.0.35.1321 - hotfix) for several years to convert Word documents with linked images to HTML files; it was working great. (I believe the HtmlSaveOptions.KeepImageLinks property was added to this hotfix specifically for this purpose.) But this morning - after I upgraded to version 2025.5.105 - my same code no longer works. The linked images do not show in the converted HTML document. Can you confirm that this is a bug?

Hi Terry,

I was unable to reproduce this issue.
Can you please create a small Visual Studio project that reproduces the problem so we can investigate it?

Regards,
Mario

Hi Mario - thanks for looking into this. I have a small sample project available here:

This takes the local “Linked_Image.docx” Word document (which has one linked image) and converts it to “Converted.html”. You’ll find that the image is not present in the “Converted.html” file.

You will need to provide a GemBox.Document key in the code to get started.

Thanks!

Hi Terry,

Please try again with this NuGet package:

Install-Package GemBox.Document -Version 2025.5.115-hotfix

Note that this is a hidden (unlisted) version. To install it, you’ll need to run the above command on the NuGet Package Manager Console (Tools → NuGet Package Manager → Package Manager Console).

Does this solve your issue?

Regards,
Mario

Hi Mario,

That did indeed solve the problem. Thank you for the quick turn-around!

Thanks!
Terry