Previous Message
Next Message

Pls Help - different result in Firefox & IE according to IMG entities..

Sent by Michael Purvis on 28 February 2005 03:03


>the problem is , if certain news don't have picture attached to it,
>Internet Explorer shows 'image box/broken image'  . that case  not
>happen with Firefox .
>  
>
You're going need to use PHP on the server to 'check' if the image 
exists. If it exists, serve up the image tag, otherwise, show nothing. 
The PHP function that you need is this file_exists(), which is in the 
manual here: http://ca3.php.net/file_exists

Mike


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.0 - Release Date: 25/02/2005

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: