What I would do is have a field named EmployeeImage in the database with the
URL to their pic (if they have no pic then leave it blank), then code like
this on the page that displays the info + pic:
<CFIF EmployeeImage IS "">
<img src="noimage.gif">
<CFELSE>
<img src="#EmployeeImage#">
</CFIF>
But I'm not a CF pro yet so there could be a more ideal way :)
-Tiffany
----- Original Message -----
From: John Stanley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 25, 2000 9:50 AM
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.