When you use cfchart it outputs a set of HTML, not just the image. Try
viewing source on a cfchart page and you will see what I mean. It
isn't just the JPG (or Flash), but rather all the HTML necessary to
render the chart.


On Wed, Oct 15, 2008 at 7:13 AM, Khaled SAIDI <[EMAIL PROTECTED]> wrote:
> Thanx for responding !
> By adding a charset attribut to the cffile tag, the jpg file is created and 
> now i
> can open it.
> If i would like to download this picture, why coding by this way doesn't work 
> :
>
> <cfcontent type="image/jpeg">
> <cfheader name="Content-Disposition" value="attachment;
> filename=graph-results.jpg">
>
> <cfoutput>
> <cfchart format="jpg".....>
> </cfchart>
> </cfoutput>
>
> Thanx again !
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:313924
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to