devshb
Senior Member
United Kingdom
1904 Posts |
Posted - May 07 2005 : 07:31:29
|
There's lots of different ways of doing that, and how you do it depends on if you want a full/flexible solution that you can tweak quite a lot, or if you just want something basic/simple.
A possible way is using the "other" product columns to display extra file names, and then adding those in your templates with a $ at the front of each one (which'll stop that html line from showing up if the "other" value is null) - that's a quick-fix if you don't want a full solution.
eg: <table border=0 cellpadding=0 cellspacing=0> <tr> $<td><img src="[other1]"></td> $<td><img src="[other2]"></td> </tr> </table>
You might want to have a look at our image-zoomer, which doubles-up as a general multiple-image template field:
http://bigyellowzone.com/shopexd.asp?id=91
This also has the benefit of you not having to record all your multiple image-names in the database; you just set the base multiple image name in the product record and then it works out the other names for you and automatically shows them if they exist. Which means that you can upload extra images for products without having to change your product data everytime you upload (or delete) an extra image for a given product etc.
The thumbs/logic in that addon are in addition to normal image processing/viewing, so you can use normal, customised/multiple, or both, depending on the kind of images/logic you want to use on the various pages.
All this assumes that you're using templates for your product details pages.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons
Edited by - devshb on May 07 2005 07:54:08 |
|
|