Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 More than 1 image for each product.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kashifjee
Starting Member

2 Posts

Posted - May 07 2005 :  05:40:14  Show Profile  Reply with Quote
Hello friendz,

I want to add more than 1 picture for each product. Currently it has option to set a thumbnail image and Enlarge image. My requirement is to show 2-3 images on product detail page..

Kindly help me out..


Thanks..

Kashif Ali.

devshb
Senior Member

United Kingdom
1904 Posts

Posted - May 07 2005 :  07:31:29  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

keng
VP-CART New User

152 Posts

Posted - May 08 2005 :  11:51:09  Show Profile  Reply with Quote
Hi,

That is possible. Search on this forum and somebody in the past gave a free code. In fact, that's how I fixed mine.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00