Open-XML-SDK
Open-XML-SDK copied to clipboard
Image not shown correctly after removing some other images from Table via removal of Rows
This issue is a:
- [x] Issue with the OpenXml library
- [ ] Question on library usage
Description
Related stackoverflow question: here. However when the process document is uploaded to SharePoint Online and if viewed in "Edit" mode the images are shown correctly but view mode again corrupts the images inside the table.
Table before removal of rows:

Table after removal of rows and in SharePoint Online "Edit mode":

Table after removal of rows and in SharePoint Online "View mode" / After downloading the file:

As shown in the last image, the images are missing however, upon inspection using OpenXML Productivity tool, it was confirmed that the imageParts in the processed document is continued to persist.
Can anyone please explain why does this happen? And how to solve this problem?
This sounds similar to #931