I've done something like this with mp3 files. I store the files in a
certain location and just include the file name, or path and file name, in
the database. Whenever the particular mp3 is listed, I just access the file
name stored in the database and set up a link.
An example is here:
http://www.janty.com/MYVQF/band/Default.cfm?bid=6
The download link is made of 2 parts:
1) A file name pulled from the database (6_5.mp3 in this case)
2) The path is taken from a variable that is set in the Application.cfm,
though the path could be stored in the database as well.
For something as heavy-duty as you are suggesting, I would reccomend putting
all of your images on their own file server :)
Todd Ashworth
----- Original Message -----
From: "t nelson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, December 14, 2000 5:51 PM
Subject: Is this even possible?
> Hi all,
>
> I am wondering if this will even be possible or if I just have a pie in
the
> sky dream.
>
> Here it goes:
>
> Let's say that you have an online store with a huge inventory of products,
> we're talking close to 10'000 distinct items. your site has everything we
> have come to expect from an e-store application (search features, shopping
> carts, etc..). if by some miracle i had a good quality and not too big
> (under 10k each) .jpg or .gif for each item in my inventory. would it be
> possible for me to some how link each of those pictures to its
corresponding
> part in my database? this way when a customer searched for an item, a nice
> picture could come along with it.
>
> again, is this even possible, if so how?
>
> thanks in advance for your time and help,
>
> nelson
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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