Not in my case though, the images are on a remote server :) -----Original Message----- From: Jim Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:20 PM To: CF-Talk Subject: RE: detecting an image
This Should Do it <cfif FileExists(images.gif) <IMG SRC="image.gif" WIDTH=18 HEIGHT=20" <cfelse> <IMG SRC="Otherimage.gif" WIDTH=18 HEIGHT=20" </cfif> JT -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:22 PM To: CF-Talk Subject: Re: detecting an image Jochem van Dieten wrote: > Scott Mulholland wrote: > >>Any way using CF to tell if an image exists, and show another image if it >>doesn't? >> >>I don't think FileExists is not an option as the images are on a remote >>machine. CFHTTP and check the length of the response? > > > I would go for CFHTTP but for one of the customtag versions. not Jochem ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists