From: Zhang H. <zhb...@gm...> - 2009-06-10 02:48:11
|
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/ |