Adding Image to Export Excel?

Copy link to clipboard
Copied
hi there guys
i have a problem currently..
is it possible to add image to a generated excel?
if yes, how can i do it?
i tried using <img src='companylogo.jpg'> but it isn't working
kindly help
regards,
hejime
Copy link to clipboard
Copied
Using SpreadsheetAddImage this should be quite possible.
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-688c.html
-Fernis

Copy link to clipboard
Copied
the project isn't using coldfusion 9.. i think should be coldfusion 8
any other alternative to doing this?
my codes are like this at the moment
<cffile action="append" file="#downloadPath##filename#" output="
<table width='95%' align='center' cellspacing='1'>" addnewline="No">
<cfset linecount = lineCount + 1 >
<cffile action="append" file="#downloadPath##filename#" output="
<tr>
<td><img src="#images#company_logo.jpg"></td>
</tr>" addnewline="No">
<cfset linecount = lineCount + 1 ><cffile action="append" file="#downloadPath##filename#" output="
</table>
" addnewline="No">
<cfheader value = "attachment; filename=#filename#" name="content-disposition">
<cfcontent type="application/vnd.ms-excel" file="#download_blabla_excel##filename#" deletefile="No">
Copy link to clipboard
Copied
you need to use a direct url.. eg: http://www.abc.com/images/banner.jpg

