display image through cgi python html
ladaan at iptel.org
Tue Jul 24 13:25:18 CEST 2007
Thanks for quick reply.
Yes, that's the hint I needed.
Marc 'BlackJack' Rintsch wrote:
> On Tue, 24 Jul 2007 11:58:47 +0200, Ladislav Andel wrote:
>> Here is what I have in image.cgi but it is incorrect and i'm not able to
>> find it on the web.
>> print "Content-Type: image/png\n"
>> print 'image.png'
> You have to print the image, not the name. Read the binary file and print
> Marc 'BlackJack' Rintsch
More information about the Python-list