well in the database if there is no image that field SHOULD then be empty.
So why not something like <CFIF IMG_FIELD IS NOT ""> Display
Image<CFELSE>Display other image</CFIF>
or something. We have a member database with images for some people
and thats how I do it.
Kelly

> -----Original Message-----
> From: John Stanley [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 25, 2000 9:51 AM
> To:   [EMAIL PROTECTED]
> Subject:      What's the best way
> 
>  I have an employee profile page that lists a bunch of
> things about each employee. And it also has an image
> of the said employee. Now my question to the list is
> some employees do not have pictures on file. Is there
> a way to check, while the page is loading to see if a
> certain image file exists, and if it does to load it,
> and if it does not, to load a default image or
> something ? This would get rid of the broken image on
> the page. 
> 
> Thanks in Advance!!!!
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send online invitations with Yahoo! Invites.
> http://invites.yahoo.com
> --------------------------------------------------------------------------
> ----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to