Or just use CFCHART's 'name' attribute. It puts the raw bits of the generated chart into the named variable for you to write to disk with CFFILE or whatever.
cheers, barneyb On Thu, Jan 15, 2009 at 2:10 PM, Dave Watts <[email protected]> wrote: >> Even with CFMX and CFCHART requesting for a jpeg file, I still get some >> CF code that is supposed to display the image: >> <IMG SRC="/CFIDE/GraphData.cfm?graphCache=wc50 >> &graphID=Images/6690768680100002.JPG" >> id="Images_6690768680100002_JPG" >> name="Images_6690768680100002_JPG" >> usemap="#Images_6690768680100002_JPG_map" border="0"/> >> But first I see no CFIDE/GraphData.cfm file on my server, >> secondly I see no 6690768680100002.JPG file nowhere on my system. > > That's because neither file is there. The first is just a servlet > mapping, basically, and the second is just a piece of data used by the > servlet mapping to identify what graph to serve. It has a JPG > extension so as not to confuse the browser, I suppose. > > You can wrap your CFCHART tag with CFSAVECONTENT to identify the URL > that generates the image, then use CFHTTP to fetch that URL and save > the JPG file yourself. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318022 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

