PDA

View Full Version : Image not being served



iamhere
March 21st, 2009, 10:58 AM
Hello,
I have an image (a logo) on my website which refuses to show up when I type "localhost" into my browser. The HTML is something like this: <IMG ALT="" SRC="logo.gif">. I'm testing on Fedora Core 6 (Linux).
What should I do?

Thanks.

NeoDreamer
March 21st, 2009, 11:01 AM
Maybe your doctype is so strict that it won't allow this improper syntax. Try this instead:


<img src="logo.gif" />

You should always end unary tags with />

iamhere
March 22nd, 2009, 09:55 AM
Maybe your doctype is so strict that it won't allow this improper syntax. Try this instead:


<img src="logo.gif" />You should always end unary tags with />


I have to slap myself hard for this one - I'd turned images off in the browser! (Sorry, sorry, sorry.....)