[ic] displaying additional product images

Kevin Walsh interchange-users@interchange.redhat.com
Sat Mar 30 10:35:00 2002


> >I need some advice on the best way to include pictures for product options.
> >Say we are selling a faucet and it comes in chrome, brass and bronze and
> >would like to show the customer what the faucet
> >looks like in these different finishes. Is this ability already built in, or
> >do I need to code it on a separate page.
> >What about popups of a larger image when clicking on the thumb nails.
> >Help
> >Thanks very much
> >
> You need to code that yourself.  Here's some tidbits to get you started... 
> no warranties, probably won't work off the top of my head:
> 
> In your flypage...  First, name your form where the options are displayed:
> <FORM ACTION="[process-target]" METHOD=POST NAME="foobar">
> 
>   Then you can generate the select box based on the colors you have listed 
> in the color column of your products database:  (something like this)
> <SELECT NAME="mv_order_color" onChange="rollcolor();">
> [loop arg=[item-field color]]
> <OPTION VALUE="[loop-code]">[loop-code]
> [/loop]
> </SELECT>
> 
> Then you should name the IMG tag that would display your product image.
> <IMG SRC="[item-code]" NAME="product">
> 
Another way would be to use a set of radio button options,
instead of a <select> list.  If you did that, you could show
the image next to each option and save the user from having
to have JavaScript switched on.

As Ryan said, you would have to code this sort of thing yourself.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/