Page 1 of 1

Displaying images

Posted: Sat Feb 26, 2005 7:40 pm
by Endimion
Is there any problem with browsers if i use thumbnails without extention?

for example:

<img src="images/img45">

I heard some of my users complaining that they cant see thumbnails.
I wonder if it is related with extention.

Posted: Sat Feb 26, 2005 7:44 pm
by feyd
typically no, there is not problem (provided the file does actually pass the correct content-type)

Re: Displaying images

Posted: Sun Feb 27, 2005 4:30 pm
by patrikG
Endimion wrote:Is there any problem with browsers if i use thumbnails without extention?

for example:

<img src="images/img45">

I heard some of my users complaining that they cant see thumbnails.
I wonder if it is related with extention.
If you don't tell the browser what kind of graphic it is (i.e. "images/img45.jpg"), I wouldn't be surprised if people have problems viewing them. Defining the content-type is important, not just for images but for pretty much anything due to the simple diversity of the internet.