Open-XML-SDK icon indicating copy to clipboard operation
Open-XML-SDK copied to clipboard

Image not shown correctly after removing some other images from Table via removal of Rows

Open IshamMohamed opened this issue 4 years ago • 1 comments

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: image

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

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

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?

IshamMohamed avatar May 15 '21 03:05 IshamMohamed

This sounds similar to #931

twsouthwick avatar May 17 '21 18:05 twsouthwick