Can't get image to show in publicly accessible website

asked 2015-10-25 00:37:57 -0500

I am trying to show an image on a public url (e.g. http://example.com), but cannot get it to show. Below is my code. The site is running on an ubuntu server and listening on port 80. Lastly, the 'hello world' is printing just fine and when I run the file from the terminal I do not get any errors.

Thank you in advance for your help.

#!/usr/bin/python

print 'Content-type: text/html\n\n'

from SimpleCV import Image

print 'Hello World\n\n'

img = Image('logo')

img.show('browser')

edit retag flag offensive close merge delete