#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2005
    Posts
    1
    Rep Power
    0

    Output Image on Webpage


    Hi,
    I wish to display an image on a webpage. I drew it using the Python Image Library but how do I show it in a web browser?
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    If your doing this in a plain HTML page then you need to save the image and use <img src="fileName.ext"> to display the picture like you would in any HTML.

    If you're talking about CGI etc. then you should be able to display it by printing the images data inside the image tag, rather than saving it to a file .

    Hope this helps,

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo