How to remove Missing Image...

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
dave7802
Forum Newbie
Posts: 13
Joined: Wed Nov 12, 2008 3:49 pm

How to remove Missing Image...

Post by dave7802 »

Hello all,

An interesting question,

How on earth do you go about coding an image to now show that horrible internet explorer missing image link / frame thing,

I have a shopping Cart, and i have some sections that have images,
I can have a rule to Show the image or have No Images,

The Problem with Show images is i dont have images for all my sections, so i get a horrible box in Internet Explorer with the big red X and missing image,

Is there any CSS code or HTML code i can add in to stop this silly error / message

The work around would be to upload a Blank image am aware of, but am trying to avoid less faff at a later date

Thanks for you help :-)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: How to remove Missing Image...

Post by John Cartwright »

Are you talking about local or remotely hosted images?
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: How to remove Missing Image...

Post by JakeJ »

A conditional statement saying that if an image is missing, replace it with a blank image is probably a pretty good way to go. Just make it a clear .gif file that fits the background, or an image that says No Image Available.

"No Image Available" is good enough for Amazon.com!
Post Reply