I'm trying to insert some gifs into an excel spreadheet created with cfcontent. The essence of the code is this...
<cfheader name="Content-Disposition" value="attachment; filename=myexcelfile.xls">
...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?
You might try creating a spreadsheet containing an image using the Microsoft Excel program then save it as HTML. Examining the HTML Excel generates may give you an idea how to structure your HTML to conform to Excel's format.