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.
 
well there's no reason why what you're doing shouldn't work??? :confused:

however, i still think you might be better off installing a webserver locally. :)
 
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. :)
 
you don't need the internet but it does need to be network enabled. if this pc is on a lan with no net, it will be fine. a completely standalone machine might need a little more effort to get going. tell me what you've got. :)
 
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!
 
i'm using, Windows Vista. So, my 'switch.hub' idea should work?

no reason why not but you can do the software method in vista too. just open device manager, right click the computer name at the top and choose

add legacy hardware, next
choose manual advanced option, next
network adapters, next
microsoft > microsoft loopback adapter
 
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. :)
 
Back
Top Bottom