I am generating a Excel file in ColdFusion, using cfsavecontent
. Now I want to add an image to the excel file. The code below doesn't work, resulting in a broken image.
<cfsavecontent variable="adc" >
<cfoutput >
<img src="output/homeicon.jpg">
</cfoutput>
<table>
<tr>
<!--- Total Row - 58 --->
<!--- Row 1 --->
<td style="width:64px;height:11px;background-color:#c0c0c0">
<img src="output/homeicon.jpg">
</td> <!---Column A--->
</table>
<cfsavecontent>