This project has moved. For the latest updates, please go here.

Adding image using Open XML

Sep 17, 2013 at 5:28 PM
Hey there!
Could really use some help with this problem.
I'm trying to make a program that uses ClosedXML and OpenXML.
ClosedXML is used for creating and updating the data in a excel file, and the OpenXML is only used for adding an image to an Excel file.

It's working okay in some ways but the trouble comes when I try to add in an image to an existing excel file.
Since the file is created in ClosedXML, how do I open it using OpenXML and add the image?
Here is the code I use for creating the XML and the code I use for updating the image in OpenXML.

http://pastebin.com/Z1LyvdxN

I don't really know how to make it work and would really appreciate any feedback with it. Thanks!