Re: [Zope] Retrieving an image from MySQL

2011-06-28 Thread Bart Jansen
Whoeps, I misread your post. You are doing exactly what I adviced. You can ignore my previous reply. Sorry. Bart PS. thanks Peter for informing me. Op 28-06-11 13:28, Bart Jansen schreef: > Hi Jibin, > > You are now trying to put an image file (the actual image data) into the > src attribute of

Re: [Zope] Retrieving an image from MySQL

2011-06-28 Thread Bart Jansen
Hi Jibin, You are now trying to put an image file (the actual image data) into the src attribute of your tag. I think the src attribute should contain the url pointing to your StockChartManagePreview_Handler script. This is, assuming that your script does correctly return the image file. Bart

[Zope] Retrieving an image from MySQL

2011-06-27 Thread Jibin K.J
I have an image stored in MSQL.(Don't tell me its not proper do that,I know already).Anyways I need to display it in DTML. StockChartManagePreview (DTML) StockChartManagePreview_Handler (python script) request = container.REQUEST response = request.RESPONSE photo = context.StockChar