Displaying images

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Endimion
Forum Newbie
Posts: 15
Joined: Fri Feb 18, 2005 9:48 am

Displaying images

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

typically no, there is not problem (provided the file does actually pass the correct content-type)
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Re: Displaying images

Post 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.
Post Reply