Strange IMG problem in HTML.

Soldato
Joined
30 Jul 2004
Posts
10,572
Location
East Sussex, UK
Howzit Guys.

I'm busy doing a website with images in a gallery and also one picture in center of the page.

Now, the code I added for the center image is:

Code:
 <img src="clock.gif" alt="Tour Buss" width=
"428" height="213" />

I've made sure the clock.gif image is in the right location. All I see on the HTML page is a broken link icon for the picture. :(

Then I have a gallery at the bottom, with smaller views. Now, if I name the image to, image.gif it works ok. But I need more then one image..so I named the second image to image2.gif (In same location) I get the broken link icon in the browser when I view it...:(

Code:
		<h1 class="posthead">Photo Gallery</h1>
		<div class="gallery">
			<a href="#"><img src="Coach1.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="Coach1.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image2.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
			<a href="#"><img src="image.gif" alt="Thumbnail" /></a>
		</div>	  
	  
	  
    </div>
  </div>
Any ideas guys?

Thanks! :)
 
I've made sure of:

index.html
image.gif
clock.gif

Are in the can location, same folder. I haven't uploaded it to a FTP. Just running it stright off the hard drive.

Thank you for the replies.
 
It's completely stumped me. :(

How do I install a webserver locally?

Sorry, never done that before, normally just use notepad2 and my browser for my sites, lol.

Could it not be something in my CSS file causing this?
 
I usally do have an image folder, css folder ect. But was a little lazy with this one. :(

Do I need to have Internet to use the local webserver as the main PC I do work on doesn't normally have Internet connected.

Thank you. :)
 
Ah, I see.

I have a standalone PC with no LAN connected or Internet. However if need be, I could always connect a switch to it, via the LAN port. So it's on a 'small' LAN with no other PCs connected?

Thanks for all the help, marc!
 
Oh I'd much rather do that!

Will give it a go tonight when I arrive home.

Thank you for all your help, bud. I will post back once I've set it all up. :)
 
Okay, 50% right now.

I got the clock.gif image to appear, using the server. :)

The other, image.gif's still don't appear. :(
 
Back
Top Bottom