Welcome to WebmasterWorld Guest from 54.204.100.232

Forum Moderators: phranque

Message Too Old, No Replies

images don't work

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

WebmasterWorld Senior Member 10+ Year Member



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 Jul 11, 2007 (gmt 0)

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



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

WebmasterWorld Senior Member 10+ Year Member



That's the code:

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

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

10+ Year Member



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 Jul 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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

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



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 Jul 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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

WebmasterWorld Senior Member 10+ Year Member



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

WebmasterWorld Senior Member 10+ Year Member



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 Jul 11, 2007 (gmt 0)

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



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

WebmasterWorld Senior Member 10+ Year Member



calling file is in the main directory:

/page.html

called file is in a sub-folder:

/images/file.jpg

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

5+ Year Member



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

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



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 Jul 11, 2007 (gmt 0)

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



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

WebmasterWorld Senior Member 10+ Year Member



Try an absolute url for the image src:

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

Marshall

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

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



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

Is it only from 1 computer or all computers?