CGI-Python Image viewing
Anders M Eriksson
anders.eriksson at morateknikutveckling.se
Thu Feb 8 07:42:38 EST 2001
More information about the Python-list mailing list
Thu Feb 8 07:42:38 EST 2001
- Previous message (by thread): CGI-Python Image viewing
- Next message (by thread): CGI-Python Image viewing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 8 Feb 2001 11:26:38 +0200, "Mix" <mix77 at usa.net> wrote: >I am new to CGI scripting AND Python. What I am trying to do is, >display an image on an html page that has been retrieved from a Postgre >database >using Python (cgi). My problem is : that image that not show up on the page, >regardless of where it is sitting on my html or cgi directory! There are several things that must work for you to be able to show an image. 1. You need to create a python script ;-) At http://starship.python.net/crew/davem/cgifaq/faqw.cgi?req=show&file=faq02.010.htp you can see how it's done... 2. You need to make the script executable! 3. <img src="myscript.py"> If I have to guess then your problem is probably the Content-Type! // Anders
- Previous message (by thread): CGI-Python Image viewing
- Next message (by thread): CGI-Python Image viewing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list