Why do some images show, others don't

They have: 2 posts

Joined: Aug 2006

Hi, I am experienced programmer, but a relatively inexperienced Webmaster, so I apologize if this is a simple question...

My web site has an 'images' folder in the 'root' folder that holds images used in and tags. Until today all was fine but for some reason, today, only one of the several images is being rendered on the page. I have to assume that because one of the images is rendering that my permissions, and src=path are fine. The one image that is rendering is in an tag, but none of the other tags are rendering, and none of the tags are rendering. All works fine on my home/development box, and all worked fine on the server until today.

Any ideas? Thank you to all who reply.

Cheers.

waffles's picture

They have: 54 posts

Joined: Jun 2006

Did you check the casing of the extensions? Sometimes if the file is .JPG and it's looking for .jpg it makes a difference. But that should have caused a problem from the start.

waffles Radio Coming to a set of speakers near you September 2006

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

if everything was working fine until today, and then suddenly they stopped, and you didn't make any changed to the files on the server, then check with the hosting company, see if they did anything.

Can you browe directly to the image? If you use firefox, right click on the image and choose "VIEW IMAGE"

Can you give a URL?

-Greg

He has: 698 posts

Joined: Jul 2005

If you made any changes to the source code since you started you could have left out an end quote or something simple like that that would cause the image sources to be screwed up. Wink

Kurtis

Busy's picture

He has: 6,151 posts

Joined: May 2001

If you are using a editor to make your page view source on your uploaded web page and make sure the paths to the images aren't C:/my docs/blah/blah/folder/ which most editors do. if this is the case the images you are seeing are cached ones.

Also the method you uploaded themcan effect them, did you upload in binary or ascii ?

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

danny danielson wrote: all worked fine on the server until today.

.

They have: 2 posts

Joined: Aug 2006

I got in touch with thehosting company, and their wonderful tech discovered that many of the image files were corrupted. The problem was that I didn't use a Binary transfer mode when I FTP'd my image files to the server. I deleted the images, and uploaded with Binary mode, and now all works fine.

Cheers, and thank you to all who replied. This seems to be a friendly forum - not something you always encounter in the programming world.

Cheers again.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.