Images not showing

J

Jon Cosby

Will someone tell me what's wrong with this? The thumbnail images aren't
showing on the page. All of the images are in the same directory as the
document. The anchor links work. I don't see any missing tags, do you? The
file names are right. I've tried tinkering with the table and column size.

<table cols='3'>
<tr>
<td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
<td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
<td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
</tr>
</table>
 
J

Jon Cosby

Will someone tell me what's wrong with this? The thumbnail images aren't
showing on the page. All of the images are in the same directory as the
document. The anchor links work. I don't see any missing tags, do you? The
file names are right. I've tried tinkering with the table and column size.

<table cols='3'>
<tr>
<td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
<td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
<td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
</tr>
</table>

It seems to work fine in Mozilla, it's IE that can't find the images.
 
R

Richard

Jon Cosby said:
Will someone tell me what's wrong with this? The thumbnail images aren't
showing on the page. All of the images are in the same directory as the
document. The anchor links work. I don't see any missing tags, do you? The
file names are right. I've tried tinkering with the table and column size.

<table cols='3'>
<tr>
<td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
<td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
<td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
</tr>
</table>

Did you upload the images to the same directory as the html page?
If not, that's why they don't show up.
Otherwise include the directory in the filename.
 
J

Jon Cosby

Richard said:
Did you upload the images to the same directory as the html page?
If not, that's why they don't show up.
Otherwise include the directory in the filename.
<img src="path\thumb0.jpg">
Yes, they are in the same directory.

Jon
 
D

Deryck

Jon Cosby said:
Funny thing, it's working posted on the Web
(http://www.jcosby.com/temp/thumbnails.htm) or through the IIS server, but
not when I open it from the folder. Any explanation for this?

Dunno. The code on your site doesnt have any spaces in the image names but
the code that you posted seems to (Klein<space>).
Has something changed since the OP or is it just me eyesight? I know the
problem was the thumbs rather than the large images but I cant
help feeling that there is more going on here.

Deryck
 
J

Jon Cosby

Deryck said:
Dunno. The code on your site doesnt have any spaces in the image names but
the code that you posted seems to (Klein<space>).
Has something changed since the OP or is it just me eyesight? I know the
problem was the thumbs rather than the large images but I cant
help feeling that there is more going on here.

Yeah, I was doing some tinkering. There's really no problem with the full
images, it's the thumbs. It's strange, they don't load when I open the
document locally iin IE.

Jon
 
H

Hywel

Jon said:
Will someone tell me what's wrong with this? The thumbnail images aren't
showing on the page. All of the images are in the same directory as the
document. The anchor links work. I don't see any missing tags, do you? The
file names are right. I've tried tinkering with the table and column size.

<table cols='3'>
<tr>
<td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>

Spaces and mixed-case in filenames - bad idea.
 
R

Richard

Jon Cosby said:
Yes, they are in the same directory.

Jon

Then try it this way <a href="Klein Baby Bottle">

It could that the .jpg in the <a> tag is causing the problem.
 
R

rf

Richard said:
Then try it this way <a href="Klein Baby Bottle">

And what would be the point of that, othere than causing an immediate 404
that is?
It could that the .jpg in the <a> tag is causing the problem.

It could be that you have no idea.

Cheers
Richard.


And
 
R

Richard

Jon Cosby said:
directory

Yeah, I was doing some tinkering. There's really no problem with the full
images, it's the thumbs. It's strange, they don't load when I open the
document locally iin IE.

Jon

The images need to be in the same directory as the html page REGARDLESS if
the page is locally or on the server.
IE is very specific about this.
This is the biggest mistake that newcomers make all the time.
 
C

Craven

Hywel said:
Spaces and mixed-case in filenames - bad idea.


Too true! Why have spaces file names and capitalisation? I'm a tyro to HTML,
but I gather that spaces in file names are not allowed, or are they?

Regards,
Chris

Bird sightings based around 'Craven' Skipton, North Yorks.
http://uk.geocities.com/cravenbirds/

Outgoing mail is certified Virus Free.
Checked by the Norton auto-updated anti-virus system.
 
E

Els

Richard said:
The images need to be in the same directory as the html page REGARDLESS if
the page is locally or on the server.

Not true.
IE is very specific about this.
This is the biggest mistake that newcomers make all the time.

Bull. My guess: you're not just ignorant, you're trolling.
 
T

Toby A Inkster

Craven said:
I gather that spaces in file names are not allowed, or are they?

Spaces are fine in file names, but what have file names got to do with the
web?

Spaces are illegal in URLs.
 
N

Nik Coughin

Richard said:
Then try it this way <a href="Klein Baby Bottle">

It could that the .jpg in the <a> tag is causing the problem.

That is the dumbest thing I have heard all week. Congratulations Richard.
 
N

Nik Coughin

Craven said:
Too true! Why have spaces file names and capitalisation? I'm a tyro
to HTML, but I gather that spaces in file names are not allowed, or
are they?

Regards,
Chris

Bird sightings based around 'Craven' Skipton, North Yorks.
http://uk.geocities.com/cravenbirds/

Outgoing mail is certified Virus Free.
Checked by the Norton auto-updated anti-virus system.

They're allowed but it's a good idea to encode spaces in file names as %20.
Spaces present the possibility of being misunderstood within URLs for
various reasons.
 
N

Neal

Will someone tell me what's wrong with this? The thumbnail images aren't
showing on the page. All of the images are in the same directory as the
document. The anchor links work. I don't see any missing tags, do you?
The
file names are right. I've tried tinkering with the table and column
size.

<table cols='3'>
<tr>
<td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
<td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
<td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
</tr>
</table>

If there are actually spaces in the filename, the URL should have %20 in
its place. Likely the filenames are incorrect. Triple-check them. Also
don't forget the required alt attribute on the img element - it serves as
a replacement for the message the image gives.
 
C

Craven

Toby A Inkster said:
Spaces are fine in file names, but what have file names got to do with the
web?


Well, I'll be :) I'll see if this 'validates' using a file name with
spaces referred to in a web page!

--
Regards,
Chris

Bird sightings based around 'Craven' Skipton, North Yorks.
http://uk.geocities.com/cravenbirds/

Outgoing mail is certified Virus Free.
Checked by the Norton auto-updated anti-virus system.
 
C

Craven

Els said:
Not true.


Bull. My guess: you're not just ignorant, you're trolling.

Lol! I notice your Website uses a Dreamweaver template;-0

You are correct though;-) If a clear correct PATH is indicated within the WP
and can be accessed, there shouldn't be a problem.
--


Regards,
Chris

Bird sightings based around 'Craven' Skipton, North Yorks.
http://uk.geocities.com/cravenbirds/

Outgoing mail is certified Virus Free.
Checked by the Norton auto-updated anti-virus system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top