Click to See Complete Forum and Search --> : Netscape not displaying images in PHP page


elaurvick
11-18-2006, 10:17 PM
I am converting a working website from HTML to CSS/php. Something strange has happened with two images in Netscape. They both display on the current live (HTML) site.

When I bring up the .php page on my personal server, they are NOT displayed. Netscape provides the image properties correctly, but when I select the "view image" option, I get this message: "The image cannot be displayed, because it contains errors" with no explanation of what the errors are. These are copies of the images on the host server and have not been modified. They are both displayed when I look at the pages in Firefox and IE, or with any other image-viewing software I own.

There are hundreds of .gif and .jpg files on this site, Netscape displays all the others.

This one is a product photo with no link:
<div style="position: absolute; left: 230px; top: 170px;"><img alt="Kings Pride 1000 Electric Bed" src="Photos/01022.gif" width="300" height="217" border="1" /></div>

This one is a thumbnail (the link to the product page works):
<a href="eq_A1011.php"><img alt="Pressure Relieving Support Surfaces"
src="Photos/A1011.jpg" width="80" height="67" border="1" /></a>

Can someone give me a clue as to what's happening? I'm tempted to put a disclaimer in the site before I move it to the host, not to use Netscape. I have no major problems with the discrepancies between Firefox and IE, but Netscape is a nightmare.

NogDog
11-19-2006, 03:01 PM
I can't imagine why PHP would be the issue, since you're just outputting normal HTML at those points. If you type a link to the image file itself in the address bar of your NS browser, does it still generate an error or does the image display OK?

elaurvick
11-19-2006, 08:56 PM
Yes, I'm looking at it right now, in Netscape, Photos/01022.gif. Also displays Photos/A1011.jpg by itself. It also displays in the original webpages written in HTML. This is only happening in pages converted to PHP and only in Netscape.

NogDog
11-19-2006, 08:59 PM
Have you validated your page's HTML: http://validator.w3.org/

elaurvick
11-20-2006, 12:05 AM
Both the HTML version and the PHP version, validated HTML and CSS.

NogDog
11-20-2006, 01:13 AM
Well, you've got me stumped. :(

cyber_mm
11-20-2006, 01:58 AM
it might be a redering problem put px on the end of the numbers