> Also, images will only be *stored* in this database, they will
> rarely be viewed
> from here. Usually they will be written to static files on disk
> once per day
> or so, and then the general public views the images from the
> static files on disk.
> BUT, there is the need for the abiltiy to preview an image, this
> will be a less
> often used function, the load will be minimal. So for that
> function, its easiest
> to just pull the image directly from the database.
The biggest problem with doing this is (as I originally stated) that you're
reliant on the speed of the OS to write the file before the webserver says
"The file is located here"
With NT, it doesn't always become a visible file immediately, which means
that when the browser requests the file that the webserver says is in a
particular position, then it'll say "It's not there, broken graphic"
There is a pseudo way around this, which is to change the image in
JavaScript... you could display a "blank" graphic (a transparent GIF will do
the trick, and it'll only be 43 bytes), and then via the onLoad event, get
JavaScript to replace the graphics with the "generated" ones
It's still not good, but it should work
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists