I did it for a student once. You can do it in cf5 using cfsavecontent and cfhttp.
<cfsavecontent variable="test"> <cfgraph type="BAR" query="qValues" valuecolumn="values" itemcolumn="months" scaleto="#form.scale#" itemlabelsize="16" itemlabelorientation="VERTICAL" title="#form.title#" fileformat="jpg" barspacing="15" depth="10" colorlist="#form.color#" gridlines="4"></cfgraph> </cfsavecontent> <cfset fnd=ReFindNoCase("src=""([^""]*)""",test,1,TRUE)> <cfset imgurl=Mid(test,fnd.pos[2],fnd.len[2])> <cfhttp url="#request.URLPATH##imgurl#" method="GET" path="#ExpandPath('.')#" file="graph_dept_#form.department_ID#.jpg" resolveurl="false"> </cfhttp> <cfoutput>#request.URLPATH##url#<br> <img src="graph_dept_#form.department_ID#.jpg"></cfoutput> Pascal Peters Certified ColdFusion Advanced Developer Macromedia Certified Instructor LR Technologies Av. E. De Mot, 19 1000 BRUSSELS, BELGIUM Tel: +32 2 639 68 70 Fax: +32 2 639 68 99 Email: [EMAIL PROTECTED] Web: www.lrt.be -----Original Message----- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: woensdag 18 juni 2003 16:05 To: CF-Talk Subject: RE: CFGraph Images If you are using MX, you can save the graph to a variable and write it using CFFile... Not sure if you can do that in CF5 tho HTH -----Original Message----- From: Critz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 14:57 To: CF-Talk Subject: CFGraph Images oi CF-Talk,!! Anybody, know of a way to save the cfgraph outputted image to disk programmatically? Crit --- [This E-mail scanned for viruses by Declude Virus] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4