1 Reply Latest reply on Jan 22, 2010 1:07 PM by JR "Bob" Dobbs-qSBHQ2

    Images in Excel with CFContent


      I'm trying to insert some gifs into an excel spreadheet created with cfcontent. The essence of the code is this...


      <cfcontent type="application/msexcel">
      <cfheader name="Content-Disposition" value="attachment; filename=myexcelfile.xls">




           <img src="https://www.mydomain.com/images/mypic.gif">





      ...so when the spreadsheet comes up, it shows the images, but they aren't saved in the spreadsheet itself - they're just linking to the image file online. So if I unplug my network cable, the images will disappear, despite the xls file being saved on my local machine.


      Does anyone know how to embed the image files themselves into an excel file created through ColdFusion?