nitially.
Ron Allen Hornbaker
President/CTO
Humankind Systems, Inc.
http://humankindsystems.com
mailto:[EMAIL PROTECTED]
-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 6:38 AM
To: CF-Talk
Subject: RE: Broken Images / Testing for file
I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database table does not tell me whether there is an image for that item
and there are many that do have one.
I'd like to display an alternate
[EMAIL PROTECTED] wrote:
Let the client-side box do the work, with JavaScript.
Interesting possibility. Of course, that still clutters your
server log with 404 errors, which may be a consideration. And
it requires additional network traffic, which may slow down the
page display. But
This sounds interesting and I seem to have missed the suggestion/code...
What was it?
[EMAIL PROTECTED] wrote:
Let the client-side box do the work, with JavaScript.
Interesting possibility. Of course, that still clutters your
server log with 404 errors, which may be a consideration.
I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database table does not tell me whether there is an image for that item
and there are many that do have one.
I'd like to display an alternate image
use the FileExists() function in CF
-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 08:06
To: CF-Talk
Subject: Broken Images / Testing for file existence
I have an application where I list several items on a page and display an
image for that item
Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:06 AM
To: CF-Talk
Subject: Broken Images / Testing for file existence
I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
database
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 08:06
To: CF-Talk
Subject: Broken Images / Testing for file existence
I have an application where I list several items on a page and display an
image for that item based on a reference number (ie, productnum+.jpg). The
data
one solution i've used is to write a simple CFX to display the image.
O-
- Original Message -
From: "Tony Schreiber" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 3:27 AM
Subject: RE: Broken Images / Testing for file existence
D
r, however, this won't
be much help.
-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:06 AM
To: CF-Talk
Subject: Broken Images / Testing for file existence
I have an application where I list several items on a page and display an
image for
March 2001 08:27
To: CF-Talk
Subject: RE: Broken Images / Testing for file existence
Doesn't help, since I said: "I can't see using an CFIF FileExists for
every item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only"
I don't know that you can.
That's kinda what I was thinking...
I would store that info in the database; it could be a flag which simply
indicates the existence of the file or not.
You could write a CF page to update the db as often as necessary (once,
hourly, daily, etc.); that page
: RE: Broken Images / Testing for file existence
Doesn't help, since I said: "I can't see using an CFIF FileExists for
every item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only" But thanks...
use the
]]
Sent: Tuesday, March 13, 2001 2:06 AM
To: CF-Talk
Subject: Broken Images / Testing for file existence
I have an application where I list several items on a page
and display an
image for that item based on a reference number (ie,
productnum+.jpg). The
database table does not tell me
Subject: RE: Broken Images / Testing for file existence
Doesn't help, since I said: "I can't see using an CFIF FileExists for
every item for 50 or so on a page. Plus, I can't even do that because I'm
grabbing the images from a different server via http only" But thanks...
use the
:04 AM
To: CF-Talk
Subject: RE: Broken Images / Testing for file existence
It's like 2.5 gigs of 250,000 images! I could, but I certinaly don't
want to. ;p
why dont ya just download all dem pics to your server? makes life easier
-Original Message-
From: Tony Schreiber
16 matches
Mail list logo