Welcome to WebmasterWorld Guest from 54.144.39.30

Forum Moderators: phranque

Message Too Old, No Replies

images don't work

     
8:20 pm on Jul 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 1, 2005
posts:741
votes: 0


Hello,

I'm not able to view .jpeg files uploaded on my site.
I already checked the path and it is correct.
Something I'm missing?

Thanks.

8:21 pm on July 11, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2003
posts:4395
votes: 2


Show us the HTML calling the img or pointing to the src
8:35 pm on July 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 1, 2005
posts:741
votes: 0


That's the code:

<p><img border="0" src="images/photo1.jpg" width="210" height="216"></p>

9:50 pm on July 11, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Feb 4, 2004
posts: 215
votes: 0


Is it all jpegs or only certain jpegs? I ask because I have run into a problem with certain jpegs in the past that were saved from Photoshop as CMYK jpegs( used for print) and not RGB jpegs.
9:58 pm on July 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 1, 2005
posts:741
votes: 0


any .jpg file
10:01 pm on July 11, 2007 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5616
votes: 44


What message do you get if you try to view the images directly? In other words, assuming the sample is from www.example.com/index.htm enter www.example.com/images/photo1.jpg in your browser.
10:11 pm on July 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 1, 2005
posts:741
votes: 0


error 404
10:11 pm on July 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 1, 2005
posts:741
votes: 0


error 404
10:33 pm on July 11, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 4, 2001
posts: 2173
votes: 13


Error 404 is "Page Not Found" which would suggest either your picture(s) are not on the server or you have the wrong file path.

Marshall

10:49 pm on July 11, 2007 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5616
votes: 44


Please confirm the full paths where the images and calling file are located.
11:01 pm on July 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 1, 2005
posts:741
votes: 0


calling file is in the main directory:

/page.html

called file is in a sub-folder:

/images/file.jpg

11:13 pm on July 11, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 26, 2005
posts:66
votes: 0


a common mistake is .JPG instead .jpg
11:14 pm on July 11, 2007 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5616
votes: 44


OK. What OS and web server are you using? Do you have the right permissions set on the /image directory? Can you see any other pictures in the /image directory?
11:32 pm on July 11, 2007 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5616
votes: 44


And is this a dedicated server or shared hosting?
11:49 pm on July 11, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 4, 2001
posts:2173
votes: 13


Try an absolute url for the image src:

http: //www.yourdomain.com/images/whatever.jpg

Marshall

11:03 am on July 12, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member tropical_island is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 16, 2002
posts:2744
votes: 0


Did you accidentally click the "toggle images" switch in your browser?

Is it only from 1 computer or all computers?