Hello,

 

I am trying to return a CFCHART image created via a CFC like this:

 

<img src="mycfc.cfc?method=getimage&id=xyz">

 

The image is being generated correctly but when I try to return it using
returnType="binary",  The resulting data is still wddx encoded:

 

<wddxPacket version='1.0'><header/><data><binary
length='6307'>iVBORw0KGgoAAAANSUh......

 

And that is causing it to fail in the img src tag.

 

How can I return the image data directly so it does not do this? I know I
can use writeImagetobrowser, but that writes the entire <img> tag not just
the src attribute. I am changing the src attribute dynamically on the client
side...

 

Brook

 

 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to