I have an app in SharePoint that builds HTML markup containing an image (logo) inserted in the markup using base64-encoded and then creates a Word (doc, not docx) file in a SP document library
You can open up the file from the standard view of the doc lib and the Word file text and image are there.
Now open the Word file from the doc lib, do some manual editing of the file, save and close.
Re-open the Word file from the doc lib, and the image of the logo has an image placeholder area and the background is solid black.
Something happened between Word editor and SharePoint during the manual editing that it saved everything else in the Word file but not the image. Playing around with Word doesn’t recover the image. File=>Inspect Document does not report anything. Continued editing actually causes the image part to disappear, with Word reporting that “header.htm” is missing
Why would Word lose data like that?