Python cgi script - outputting images

Mexican Bandit eli-wallach at ugly.com
Sun Jul 1 17:12:12 EDT 2001


>#!C:\Python20\python.exe -u
>
>and you might find it works.

Yep, working fine now. Thanks!

>By the way, I'm assuming you have some sensible reason (like a firewall) why
>your server has to read the image and write it out, rather than simply
>returning the image's URL as the SRC attribute of the IMG tag?

I've written a webcam portal java applet, and needed a way of
grabbing images from external servers. Because of security, applets
can only connect to the server the applet resides on. Thus I needed a
little script which could act as a kind of proxy to get images from
elsewhere, locally.

Regards



More information about the Python-list mailing list