Re: Hard linking an image

2009-06-26 Thread Rajesh D
On Jun 26, 1:16 am, koranthala wrote: > On Jun 26, 2:21 am, Kevin Teague wrote: > > > Presumably you already have all of the data required to generate a > > chart on the server? If so, then store the chart data in a model, and > > just reference it by id.

Re: Hard linking an image

2009-06-25 Thread koranthala
On Jun 26, 2:21 am, Kevin Teague wrote: > Presumably you already have all of the data required to generate a > chart on the server? If so, then store the chart data in a model, and > just reference it by id. e.g. > > > > (or w/ a pretty URL: ) > > And create a Chart object and

Re: Hard linking an image

2009-06-25 Thread Kevin Teague
Presumably you already have all of the data required to generate a chart on the server? If so, then store the chart data in a model, and just reference it by id. e.g. (or w/ a pretty URL: ) And create a Chart object and store it before sending out the HTML response. Then update your chart

Re: Hard linking an image

2009-06-25 Thread Rajesh D
On Jun 25, 9:43 am, koranthala wrote: > Hi, >     I have a chart which I generate on the fly. >     Basically, I have hard linked an image. The image src contains GET > parameters, which is used to generate the chart image via matplotlib. > The resultant image is returned

Hard linking an image

2009-06-25 Thread koranthala
Hi, I have a chart which I generate on the fly. Basically, I have hard linked an image. The image src contains GET parameters, which is used to generate the chart image via matplotlib. The resultant image is returned back as 'Content-Type' = 'image/png', and thus the chart is displayed.