Forum Moderators: phranque

Message Too Old, No Replies

images don't work

         

specter

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.

henry0

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

WebmasterWorld Senior Member 10+ Year Member



Show us the HTML calling the img or pointing to the src

specter

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>

jezra

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.

specter

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

WebmasterWorld Senior Member 10+ Year Member



any .jpg file

LifeinAsia

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

WebmasterWorld Administrator 10+ 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.

specter

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

WebmasterWorld Senior Member 10+ Year Member



error 404

specter

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

WebmasterWorld Senior Member 10+ Year Member



error 404

Marshall

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

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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

LifeinAsia

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

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Please confirm the full paths where the images and calling file are located.

specter

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

Petra Kaiser

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

10+ Year Member



a common mistake is .JPG instead .jpg

LifeinAsia

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

WebmasterWorld Administrator 10+ 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?

LifeinAsia

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

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



And is this a dedicated server or shared hosting?

Marshall

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

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Try an absolute url for the image src:

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

Marshall

Tropical Island

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

WebmasterWorld Senior Member 10+ Year Member



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

Is it only from 1 computer or all computers?