Nelson:
The e-commerce app I am building right now uses a naming convention to do
this. We have about 15,250 products in the db each with a unique product_id
value. We simply name the image for the product whatever the product_id is.
And since we have three different sizes of the image we simply at sm- , md-
, or lg- infront of the product_id for each image size.
You can also store the image files in the database if you like. However, I
like this method better.
-Greg
----- 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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists