VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

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

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..


Kashif Ali.

Senior Member

United Kingdom
1898 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.

<table border=0 cellpadding=0 cellspacing=0>
$<td><img src="[other1]"></td>
$<td><img src="[other2]"></td>

You might want to have a look at our image-zoomer, which doubles-up as a general multiple-image template field:


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
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on May 07 2005 07:54:08
Go to Top of Page

VP-ASP New User

152 Posts

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

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