<cfif FileExists(ExpandPath(image))>

> -----Original Message-----
> From: Mark Drew [mailto:[EMAIL PROTECTED]
> Sent: 09 August 2004 16:54
> To: CF-Talk
> Subject: Getting an image.. before display
>
> Imagine the situation.. you have thousands of records in a databse
> that refer to some images, you loop through these trying do display
> them
>
> <cfloop query="getImages">
> <img src=""> > </cfloop>
>
>
> I get a lot of broken images and some not. How would I go about
> checking that the image is there first and if so displaying
> otherwise... just go along my merry way?
>
> <cfhttp
> <cfinclude?
> <cffile ( I have the url not the path)
>
> How would you go about it?
>
>
> --
> Mark Drew
> mailto:[EMAIL PROTECTED]
> blog:http://cybersonic.blogspot.com/
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to