Paul Giesenhagen
QuillDesign
----- Original Message -----
From: Mark Drew
To: CF-Talk
Sent: Monday, August 09, 2004 10:05 AM
Subject: Re: Getting an image.. before display
I dont know the phisical path.. was looking for a url and a relative
one at that!
On Mon, 9 Aug 2004 10:00:42 -0500, Paul Giesenhagen
<[EMAIL PROTECTED]> wrote:
> <cfif fileExists("pathtofile")>
>
> <cfelse>
>
> </cfif>
>
> I hope this helps
> Paul Giesenhagen
> QuillDesign
>
>
>
> ----- Original Message -----
> From: Mark Drew
> To: CF-Talk
> Sent: Monday, August 09, 2004 9:53 AM
> 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]

