JK, Thanks but no - that's my alternative. Dan, Absolutely, please do tell me if I am!
I have a server-side script which generates a graph image given a set of dataset identifiers. Additional datasets are implicitly added server-side too. Currently the image contains the legend, but I'd like to generate the legend in HTML as it'll be more consistent with legends used for tables. The legend contents cannot be determined until partway through graph generation - so I'd like to retrieve both raw image data and legend data via AJAX, build the legend's HTML representation and display the image. Otherwise, I'll use an AJAX request to return the legend data, and cache the intermediate step so that when I insert the <img> tag for the graph, the generating script doesn't need to repeat the first part. What do you think? --rob On 7/23/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
Rob, >I have a feeling the answer is a flat 'no', but want to check: is it >possible for an AJAX request to retrieve binary image data (e.g. raw >GIF) and display that on the page? Can you describe the *exact* effect your trying to achieve? Why do you think you need to load binary image data via AJAX? I'm asking just to make sure you're not barking up the wrong tree... -Dan
-- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.