Photo problem

This is my index page, and I want to change the photo…

I have an image in my images folder, and it is a jpg, but no matter how hard I try it just does not show up? The
photo name here in the original is Stoutstandards3.jpg, and the one I want to change to is Stout89.jpg. Any ideas why this will not work?

When I try to look for [noparse]www.stoutstandards.com/images/Stout89.jpg[/noparse] I get a 404 “Not Found” error, so there’s a problem somewhere. Either the image hasn’t uploaded correctly to your image folder, or there’s an error in the filename. Check that it really is calledStout89.jpg, and not Stout89.jpeg, Stout89.JPG, stout89.jpg or some other minor difference in case or spelling.

Seems like any photo I substitute will not show? I am completely baffled. I checked out the name, type of file, etc… and like I said
no matter what I choose from my image file does not show up. Just the one photo only?

Are you sure you’ve uploaded them correctly to your images folder? I find it’s quite easy to accidentally upload things to the wrong place. :slight_smile:

Yep…haven’t a clue. Tried fifteen different images just to see if they would work and they do not…

This one is what I have had up, and it works fine

<img src=“http://www.stoutstandards.com/images/Stoutstandards3.jpg” width=“800” height=“600”>

When I substitute any jpg photo in place of Stoutstandards3…nothing! I checked image Stout89.jpg and can’t find an error.

[FONT=Verdana]If I visit [noparse]www.stoutstandards.com/images/Stoutstandards3.jpg[/noparse], I see your existing picture. However, if I visit [noparse]www.stoutstandards.com/images/Stout89.jpg[/noparse], all I get is a 404 “Not Found” error, which is your server saying it can’t find that picture at that address. As I said before, the usual reason is a mistake in the file name, or not uploading the pictures to the correct folder. If you’re sure you’ve checked both these things and the problem isn’t there, then I’m not sure what to suggest.

I’m about to have dinner. I’ll post again afterwards if inspiration strikes. :slight_smile:
[/FONT]

I have not uploaded the new photo…only double checking in My Doc, etc… I will upload it now for your sake.

Uploaded…

[FONT=Verdana]Sorry - I’d misunderstood.

I’ve tried again now that you’ve uploaded it and I’m still getting the 404 “Not Found” error. I’m really at a loss as to what to suggest.

You say you’ve tried replacing it with fifteen different jpgs and none of them works. Just out of interest, can you replace any other image, and can you replace Stoutstandards3.jpg with an image you’re already using on your site, such as Coinhunting4.jpg?
[/FONT]

finally got it to work but not sure why…had to take out the http://www.stoutstandards/com and just use the <img src=“images/Stout95.jpg”

Ah - now I know why you had the problem. I was being very dim. :blush: By using
<img src=“http://www.stoutstandards.com/images/Stoutstandards3.jpg” width=“800” height=“600”>, you are telling the browser to look online for the image at that address. If you then substitute an image that you haven’t yet uploaded, it will still look online for it, not in the local /images/ folder on your computer and of course, it won’t find it. Using the relative filepath solves this problem.

Thanks for taking the time to help…once again I learned something new. You folks here on Sitepoint are the best!

The image you uploaded is actually named Stout98.jpg rather than Stout89.jpg as you previously stated.

Therefore it will work or without http://www.stoutstandards.com in the URL.

I am aware of that, and it was another photo I decided to try…really. I would admit my being stupid trust me. Again thanks for everything.

[FONT=Verdana]

Well spotted. :slight_smile: I tried every variation I could think of, but not that one.

It will now it’s uploaded, but originally Barnum was testing locally and hadn’t uploaded the new image.[/FONT]