Any example to display jpegPhoto?

Zhang Huangbin zhbmaillistonly at gmail.com
Wed Jun 10 03:39:14 CEST 2009


Ryan Lovett wrote:
> You would have a tag such as <img src="jpegphoto.cgi?user=someone"> where
> jpegphoto.cgi is a CGI script that outputs "Content-type: image/jpeg"
> followed by the JPEG data.
>
> But that is an HTTP topic so you should probably consult a Python/CGI
> resource.

Solved, thanks all :)

I use webpy framework, solved just like Ryan Lovett said.

Related thread:
http://groups.google.com/group/webpy/t/9f7fdff1c75f7e93

-- 
Best regards.

Zhang Huangbin

- Open Source Mail Server Solution for RHEL, CentOS,
  Debian, Ubuntu:
    + Homepage: http://code.google.com/p/iredmail/
    + Forum: http://www.iredmail.org/forum/





More information about the python-ldap mailing list