Community Add-Ons

Add file to this package
Top » Features

Extra Images
for osCommerce Online Merchant v2.2

This contribution will give you the ability to have multiple images per product.
There are several contributions available that allow you to have different size
images, or multiple images, but none of them seemed to work for my needs. So I
created my own version which has no limit on the amount of images you can add.

The way this contribution works is very simple, it keeps extra images in a new
table in the database. Each product can have the 1 main image (in the products table) as
well as an unlimited number of images from the new extra_images table.

Includes admin interface for adding images to each product, also has 2 options for how the images will be displayed.

Tested with 2.2 MS1

Legend:  Download   Report
Expand All / Collapse All
ADMIN FIX - Resolvido problema no admin techzin 11 May 2008  

At line 203 find -
Na linha 203 encontre -


<td class="dataTableContent"><?php echo $products_extra_image['products_name']; ?></td>
<td class="dataTableContent" align="center"><?php echo tep_image(DIR_WS_CATALOG_IMAGES . $products_extra_image['products_image'], $products_extra_image['products_name'], SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2); ?></td>
<td class="dataTableContent"><?php echo $products_extra_image['products_extra_image']; ?></td>
<td class="dataTableContent" align="center"><?php echo tep_image(DIR_WS_CATALOG_IMAGES . $products_extra_image['products_extra_image'], $products_extra_image['products_extra_image_name'], SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2); ?></td>

just take out the /2 after ALL SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT .


retire o /2 depois de TODOS SMALL_IMAGE_WITH
e SMALL_IMAGE_HEIGHT

------
hope it can help someone :)

Imagens extras com lightbox PORTUGUES BRASIL digaovr 20 Apr 2008  
Small Fixes nuranto 28 Aug 2007  
IMAGENS EXTRAS ADICIONADAS PELO NOME digaovr 25 Jul 2007  
Bug Fix For v-1.6.1 (update instruction only) kocu 26 Jun 2007  
Extra Images - v 1.6.1 (Complete Package) sabaina 28 Apr 2007  
Extra Images - v 1.6 (Complete Package) sabaina 27 Apr 2007  
Extra Images - v 1.5 (Complete Package) sabaina 11 Feb 2007  
Admin mod (use product names instead of models) IGNORE PREVIOUS ENTRY Kaiser 1 Dec 2006  
Admin mod (use product names instead of models) Kaiser 1 Dec 2006  
Extra Images 1.4 ***orchid*** 24 Nov 2006  
Extra Images 1.4 ***orchid*** 16 Nov 2006  
Extra images - upload more than one image jashnu 25 Jul 2006  
extra Images with admin 1.3 quick_fixer 11 Mar 2006  
Fix install.txt seg 8 Mar 2006  
Extra Images with updated strings defines sebastic 10 Feb 2006  
Extra Images with admin xav 23 Nov 2005  
Extra Images with admin xav 23 Nov 2005  
Change popup resizing Randelia 12 Nov 2005  
Alternative Admin moosey_jude 9 Nov 2005  
Fix to delete extra images along with a product moosey_jude 7 Nov 2005  
Image Upload StuBo 5 Oct 2005  
extra_images_14 Mikel Williams 6 Jul 2003  
extra_images_13 Mikel Williams 6 Jul 2003  
extra_images_12 Mikel Williams 26 Jun 2003  
Extra Images 1.1 Mikel Williams 12 Jun 2003  
Extra Images Mikel Williams 11 Jun 2003