/    Sign up×
Community /Pin to ProfileBookmark

Netscape not displaying images in PHP page

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:

[code=php]<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>[/code]

This one is a thumbnail (the link to the product page works):

[code=php]<a href=”eq_A1011.php”><img alt=”Pressure Relieving Support Surfaces”
src=”Photos/A1011.jpg” width=”80″ height=”67″ border=”1″ /></a>[/code]

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.

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@NogDogNov 19.2006 — 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?
Copy linkTweet thisAlerts:
@elaurvickauthorNov 20.2006 — 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.
Copy linkTweet thisAlerts:
@NogDogNov 20.2006 — Have you validated your page's HTML: http://validator.w3.org/
Copy linkTweet thisAlerts:
@elaurvickauthorNov 20.2006 — Both the HTML version and the PHP version, validated HTML and CSS.
Copy linkTweet thisAlerts:
@NogDogNov 20.2006 — Well, you've got me stumped. ?
Copy linkTweet thisAlerts:
@cyber_mmNov 20.2006 — it might be a redering problem put px on the end of the numbers
×

Success!

Help @elaurvick spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...