Community Add-Ons
More_Pics_6 for 2.2 ms2
for osCommerce Online Merchant v2.2
Add UP to 6 more Pics to Oscommerce 2.2 ms2. This will allow you to use 0-7 pics with oscommerce 2.2 ms2
This is a full package. It contains all of the latest versions from the partial uploads below.
The support thread is: http://forums.oscommerce.com/index.php?showtopic=182676
Following encoding files, the package shall not be valid.
This package supersedes the previous one.
Thank you to the contributor
************************************
Suite à l'encodage des fichiers, le pack précédent n'est pas valide.
Ce package complet annule et remplace le précédent.
Merci à son contributeur
Package complet avec auto-installation en français.
Captures d'écran visibles à : http://www.oscommerce-screenshots.com/morepics6-avec-autoinstallation-francais-p-397.html
**********************************
Full package with auto-install in french
Screenshots visibles at : http://www.oscommerce-screenshots.com/morepics6-avec-autoinstallation-francais-p-397.html
This package contains:
More pics 6 v1.4.3 by lildog (26 Nov 2008)
+ Autoinstaller 2.7 script
With improved find/replace logic for modified sites
The Auto Installer script requires PHP5
Download the package and view the screenshots of what you will get after the installation.
Important check if the backup directory is writable was added
The Auto Installer script requires PHP5
Download the package and view the screenshots of what you will get after the installation.
This package contains:
More pics 6 v1.4.3 by lildog (26 Nov 2008)
+ Autoinstaller 2.4 script
With improved find/replace logic for modified sites
The Auto Installer script requires PHP5 !
Download the package and view the screenshots of what you will get after the installation.
The script automatically install the contribution: copy files, edit files, alter database tables.
It saves a backup before any action.
The aim of the script is to speed up the contribution installation.
And to make possible to uninstall it.
You will need to do manually only what the script cannot.
Download the package and view the screenshots of what you will get after the installation.
This release includes More Pics 2.0.6 (now called the Advanced version) and More Pics 6 v1.4.3 (now called the Classic version.) This package contains all files and all fixes/upgrades in the previous packages. In addition, some minor bugfixes have been made to the Advanced version.
A comparison of the two versions has been included -- see the Read_me file. A live demo of the Image Box feature has also been added to the Advanced version, in place of the screenshot.
For anyone having error loading the picture with mopics, with lightbox, with a single quote on the product name, for example: my product name is 10'(ft)
simply just add the addslashes() function where tittle="'$product_info['$products_name']
find:
title="'.$product_info['products_name'].')">'
replace:
title="'.addslashes($product_info['products_name']).')">'
modification for lightbox v2.4 with mopic v1.4.3, have not tested on v2.0, but may be base on the same concept!
Hopefully this will be helpful to you!
Navigation between images on the popup image display always wrapped.
Now the admin setting to wrap or not work and navigation keys only display if there is a "next" or "previous" image.
Single file only, for those of you with different versions that might need this fix the changes are in 2 marked areas.
Enjoy
*Note that there is no limit to the number of images that you can have for each product. This version is built on osCommerce 2.2RC2a code, and should be Register Globals safe.*
More bugfixes and updates. See the distribution for details.
Support: http://forums.oscommerce.com/index.php?showtopic=182676
*Note that there is no limit to the number of images that you can have for each product. This version is built on osCommerce 2.2RC2a code, and should be Register Globals safe.*
More minor bugs fixed. See the distribution for details.
Support: http://forums.oscommerce.com/index.php?showtopic=182676
*Note that there is no limit to the number of images that you can have for each product. This version is built on osCommerce 2.2RC2a code, and should be Register Globals safe.*
More bugs have been fixed, and several missed files have been included. I also rewrote and added to the instructions. See the distribution for details.
Support: http://forums.oscommerce.com/index.php?showtopic=182676
Another minor bugfix release. I've also added text to the instructions covering how to upgrade.
Support: http://forums.oscommerce.com/index.php?showtopic=182676
This is a minor bugfix and upgrade to the previous package. Two bugs noted in the forum thread have been fixed and the correct catalog/includes/languages/english.php is provided. Also, I've added a link from the Products listing under Admin > Categories/Products to the Images Admin for each product.
This is a full package.
Support:
http://forums.oscommerce.com/index.php?showtopic=35801
+ No limit on images per product. The only limit is now the capacity of your server.
+ A new database table stores all product image names and related data.
+ The More Pics display is now in a module, so it can be easily inserted anywhere
on the Product Info page.
+ New image substitution box using CSS. This shows one large image and thumbnails of
the other images. A mouseover/mouse click substitutes the thumbnailed image for
the large image.
+ Images can now be flagged to display on the category product list, the product info
page, or the popup page. This gives the capability of traditional 3 image contributions:
e.g. different size images (or different images) on the three pages. A single image
can still be used for all three (or any subset) if desired.
+ The additional images can now be shown in three different box styles: Stock osCommerce
(like the rest of your store), a simple outline, or no box.
+ Many more options and tweaks.
Please see the distribution package for screenshots and full instructions.
+ replace some old maybe incompatible code
+ fixed the delete/remove subimage 1 function
+ main image does not show in preview if removed
+ replaced some older code with osc code -no functionality change
+ missing a bracket in categories.php
icon images were missing
Full Package + update guides
+ images were not getting removed from the database
+ deleted unused text in categories
+ cleaned up install
+ added checkbox to remove parent pic from Database
+ product preview in admin does not show images that are removed
- The admin product preview does not reflect the different layouts available, yet.
- complete package + update guides
the main image input field in admin was commented out, thus no product images could be added.
Full Package + update guides
+ I had included a call to a function from another contrib.
Full Package + Update Guides
+ forgot to to include language file edits for version 1.3h
Full Package + update guides
+ moved history to a separate file
+ added remove image from this product to subimages
+ fixed delete image from server
+ fixed top alignment
+ removed out of date dutch install doc
fixed fatal bug in install docs. see update guide for details.
full package + update guides
+ Updated Products Images Folder Tree compatibility doc again
+ Updated Products Images Folder Tree compatibility doc
full package
Added complete Step by step install docs , added Options as Images contrib compatability doc.
complete package
Petit oublie pour l'insertion de l'image 2
Remplacer simplement le fichier catégorie.php par celui de l'archive.... N'oubliez pas d'ajouter les autres contrib en plus !
Small forget for the insertion of image 2
Replace simply file catégorie.php by that of the archive .... Do not forget to add the other contrib more!
Kleine vergisst für die Aufnahme von Bild 2
Ersetzen Sie einfach die Datei catégorie.php durch das Archiv .... Nicht vergessen, hinzuzufügen, die andere contrib weiter!
Olvidar los pequeños para la inserción de la imagen 2
Sustituir simplemente el archivo de catégorie.php de que el archivo .... No se olvide de añadir otro más contrib!
Voici l'archive complete avec la correction de product_info.php :)
Bug corriger :
Image de product info (qui prennai toute la page)
Modification du stylesheet.
Ajout des langues pour l'admin
Ajout du boutton retour
Ajout de fckeditor sur l'image principale
Avec 2 ans de retard désoler :/
Bug fix:
Image of product info (which prennai whole page)
Changing the stylesheet.
Added languages for the admin
Adding to return button
Adding fckeditor on the main image
With 2 years behind regrettable: /
Fehler beheben:
Bild von Produktinformationen (prennai die ganze Seite)
Änderung des stylesheet.
Hinzufügen von Sprachen für admin
Added Button zurück
Hinzufügen von fckeditor auf das Bild
Mit 2 Jahren Verspätung bekümmern: /
Bug fijar:
Imagen de la información de producto (que prennai toda la página)
Cambiar la hoja de estilos.
Añadido idiomas para el admin
Agregando a regresar botón
Agregando fckeditor en la imagen principal
Con 2 años de retraso lamentable: /
Adds mouseover text to zoom image and also 'zoom' text next to zoom picture. I use a magnifying glass icon for my zoom. This makes the zoom pic compatible with multiple languages. Based on v.1.3b
product_info.php
CHANGE:
document.write('<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'].'&invis='.(MOPICS_GROUP_WITH_PARENT=='true'?$mo_item:($mo_item+1))).'\')">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_width), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_height), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>');
TO:
document.write('<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'].'&invis='.(MOPICS_GROUP_WITH_PARENT=='true'?$mo_item:($mo_item+1))).'\')">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_width), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_height), 'hspace="5" vspace="5"') . '<br>'. tep_image(DIR_WS_IMAGES .'zoom.gif', TEXT_CLICK_TO_ENLARGE).TEXT_CLICK_TO_ENLARGE.'</a>');
CHANGE:
<a href="' . tep_href_link(DIR_WS_IMAGES . $mopics_images[$mo_item]) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>
TO:
<a href="' . tep_href_link(DIR_WS_IMAGES . $mopics_images[$mo_item]) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '<br>'.tep_image(DIR_WS_IMAGES .'zoom.gif', TEXT_CLICK_TO_ENLARGE).TEXT_CLICK_TO_ENLARGE.'</a>
CHANGE:
document.write('<?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
TO:
document.write('<?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>'.tep_image(DIR_WS_IMAGES .'zoom.gif', TEXT_CLICK_TO_ENLARGE).TEXT_CLICK_TO_ENLARGE.'</a>'; ?>');
CHANGE:
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
TO:
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '"/# ' . $tags_array['title'] . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>'.tep_image(DIR_WS_IMAGES .'zoom.gif', TEXT_CLICK_TO_ENLARGE).TEXT_CLICK_TO_ENLARGE.'</a>'; ?>
Popup Mod for image magic compatibility: Also adds a close window button.
The problem is the missing dimension variables, which causes image magic to watermark the next button and close window button. This fixes this.
in catalog/popup_image.php:
CHANGE:
echo '<td align="left" width="50%"><a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis ='.$back).'">' . tep_image(DIR_WS_IMAGES.'left.gif', 'previous', '', '', 'border="0"') . '</a></td> '; TO:
echo '<td align="left" width="50%"><a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis ='.$back).'">' . tep_image(DIR_WS_IMAGES.'left.gif', 'previous', '100%', '100%', 'border="0"') . '</a></td> ';
CHANGE:
echo '<td align="left" width="50%"><a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis ='. $next).'">' . tep_image(DIR_WS_IMAGES.'right.gif', 'next', '', '', 'border="0"') . '</a></td>'; TO:
echo '<td align="left" width="50%"><a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis ='. $next).'">' . tep_image(DIR_WS_IMAGES.'right.gif', 'next', '100%', '100%', 'border="0"') . '</a></td>';
CHANGE:
echo '<td class="smallText" align="center" width="50%"><a href="javascript:window.close()">' .TEXT_CLOSE_WINDOW . '</a></td>';
TO:
echo '<td class="smallText" align="center" width="50%"><a href="javascript:window.close()">'
.tep_image(DIR_WS_IMAGES.'close.gif',
TEXT_CLOSE_WINDOW,'100%', '100%', 'border="0"') . '</a></td>';
1) Changed the default configuration of more pics. Grouping images, and set the restrict parent images to true.
2) Solved a Bug on duplicate products, on earlier versions.
Regards from spain !!
Have a nice day.
For more info: atencion_clientes@hotmail.com
New version with some improvements:
1) Added new images to navigate.
2) Added code for ZOOM images...
3) Addes spanish language.
4) Fixed the popup window for IE7 explorers.
5) Cleaned de lightbox and other external contributions.
5) And more little improvements...
Regards from spain !!
Have a nice day.
Some modifications done for this great contrib.
Auto thumbnail creator is added.
All credits to these great contrib creators.
This is a complete package.
Updates:
+ Fixed small logic problem in building the More Pics table that caused an incomplete table structure.
+ Added missing instructions to the thumbnail quick fix instructions that will apply this thumbnail
option to the default product image when not being grouped with the More Pics images.
+ Added optional support for version 2.76d of easy populate. See the "other contrib integration" folder.
+ Added additional instructions to the STS 4.2 integration.
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
If you have the problem, that somebody have inserted sub_image1,sub_image3 and sub_image5 for example your have problems with the more pics pop up.
I've written a (dirty) perl script to correct the order.
For installation isssues and configuration of the script use "perldoc correct_product.pl" oder just view it in your favourite editor.
Feedback? info@msim.de
This is a complete package. Support for STS 4.2 is OPTIONAL.
Updates:
+ Added OPTIONAL support for STS 4.2 in the "other contrib integration" folder.
You only need to make these changes if you activate the Product Info
Module in the STS 4.2 modules. If you don't activate this, you should
have the More Pics 6 images appear in the $content place holder.
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
This is a complete package.
Updates:
+ Fixed yet another extra echo statement causing the admin/categories.php page to be blank.
+ Added the drunknbass 10 May 2006 ImageMagic Mod to "other contrib integration" folder.
Thanks to drunknbass for contributing! That's what makes this work.
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
-More Pics sur FCKeditor.
-More Pics on FCKeditor.
-More Pics auf FCKeditor .
-Rajout des Tables Et Modification du fichier d'instalation.
-Addition of the Tables for the base of data And Modification of the file of instalation.
-Hinzufügung der Tafeln für die Datenbank und änderung der instalationskartei.
More Pics sur FCKeditor.
More Pics on FCKeditor.
More Pics auf FCKeditor .
More Pics sur FCKeditor.
More Pics on FCKeditor.
More Pics auf FCKeditor .
I was ripping my hair out trying to get this Contrib to work with image magic 1.13
http://www.oscommerce.com/community/contributions,3770
. It was actually easy once i figured it out.
now you can have imagemagic watermark and do otherstuff to the popups and still have them work with morepics.
this is the line that needs to be changed in the popup_image.php of morepics
echo '<tr><td align="center"><img src="' . $img . '"></td>';
and it needs to be changed to
echo '<tr><td align="center">' .tep_image(DIR_WS_IMAGES . $insert) . '</td>';
i have also included a full replacement to popup_image.php with code for next, previous and close buttons.
If you find this valueable please pm me and say thx. i know when i needed help nobody would help solve this.
This is a complete package.
Updates:
+ Added switch to allow parent (original) image to stay in original osC location and be separated from More Pics 6 image group.
+ Added switch to have parent (original) image larger, or unrestricted in size.
+ included extra "quick fix" instructions that allows you to have additional pre-optimized thumbnail images show on the product page.
+ Fixed various issues addressed in the forum (extra echo statement, checks for duplicate images, etc.).
+ Fixed Original image not getting deleted with the delete checkbox in admin/categories.php.
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
This is a complete package.
Updates:
+ Fixed additional incompatibility with Ultimate SEO in product_info.php
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
This is a complete package.
Updates:
+ Added missing row tags in /admin/categories.php lines 827,828 & 874,875
+ Fixed MySQL 5 incompatibility in SQL file
+ converted img tags in popup_image.php to osC tep_image() function for compatibility with Ultimate SEO
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
This is a complete package.
More Pics 6 v1.1 allows you to add up to 6 additional pics to each product. The pics
can be different sizes and different types (jpg,gif,png,...). The image pop-up
will display forward and next buttons so the customer can page through each
larger image without needing to go back to the main product page. You will have
the ability to configure the number of rows and columns to display the products
in on the main products info page. If more images are defined then columns and
rows are defined the remaining images can be viewed in the pop-up. You will also
be able to configure whether the images show above the description, below the
description or on either side of the description.
Updates:
+ Combined all fixes and contributions into one package
+ Created change log
+ condensed the product_info.php code to a loop for on-the-fly config options
+ added ability to display images either on top, bottom or sides of description
+ added on-the-fly config options to Admin configuration
+ added ability to define number of columns and rows the images can be
displayed in. Set to 1 x 1 to display only one pic per product description.
All other images can then be displayed in the pop-up.
+ added code change markers throughout the package to aid in integration.
Support:
http://forums.oscommerce.com/index.php?showtopic=182676
UPDATE FOR MOPICS 6 2.2 MS2
___________________________
This is a small and simple Update to change the Navigation and Thumbnail view in the popup window.
Now you can see in one popup window, the main picture on the left side and the thumbnails on the right side. Navigation arrows are still included. So there is no need for the small thumbnails in the product_info.php file.
The Code might need some clean up, so feel free to do what ever you think is necessary to make this code cleaner! ;-)
All credits for this update goes to "Alex2911" and "Obscure" from the german forum. These guys ROCK!
--------------------------------------------------
Dies ist ein kleines Update um die "Ansicht" der Navigation und Thumbnails im Popup-Fenster zu ändern.
Jetzt sieht man in einem Popup-Fenster, links das grosse Bild und rechts davon die kleinen Thumbnails (sofern weitere Bilder vorhanden sind!).
Die Navigationspfeile bleiben bestehen.
Jetzt braucht man die Thumbnails nicht mehr im product_info.php File.
Den Code könnte man evtl. noch etwas säubern.
Das ganze Lob für dieses Update gehen an "Alex2911" and "Obscur" vom deutschen Forum.
--------------------------------------------------
Readme in english and german!
Tsimi
Be carefull! This is a small fix of the tag base href in file popup_image.php of Author: wayoutpost / 22 Oct 2004.
At 12 june 2005 the zip file of Author: Arne / 26 May 2005 were empty!
Nur in Deutsche
Only in german sorry tray it later
Diese dinge sind geändert:
Es werden in der Beschreibung Registerkarten über dem Artikelbild eingeblendet, wenn es zu diesem Artikel mehr als 1 Bild gibt. Bei Vergrößern der Bilder wenden die Registerkarten auch eingeblendet.
Alles ist dynamisch gehalten es können Register bis 10 und mehr Bilder eingebelend werden, ich habe mich auf 4 beschränkt und verwende nur die bsudimages (also die Großen Bilder)
In Der Datenbank muß die Erweiterung für die Bilder vorhanden sein „mo Pics 6“ heißt das
Update.
Auch für den Adminbereich sollte das Update schon installiert sein um mehrere Bilder in die Datenbank hochladen zu können...
Integration of scroll function with popup_image.php. No more need for popup_image1.php, popup_image2.php, etc.
Also, fixed the delete function in admin/categories.php.
FYI, I am just the messenger. Contribution credit goes to Tsimi and Alex2911 on the German boards and volupp on the English boards. Thanks!
A small update for the MoPics 6 Contribution. It creates one or two arrows in the Popuwindow witch allows you to navigate through the 2-6 Pics createt with MoPics 6.
This update was created with the help of the german Forum especialy Alex2911, Ingo, Nils, Obscur and myself(Tsimi). And of course thanks to Raphael Muscarelle for creating Mo Pics 6 and Jesse for the first additional update.
Readme in english and german!
This allows for the deleting of the extra images created with more_pics if you delete the product.
Takes 2 minutes to install. Just one file change.
sorry people. I think I fixed the glitches.
Next version I'm going to try to make it more Multi Mod friendly..
Add UP to 6 more Pics to Oscommerce 2.2 ms2. This will allow you to use 0-7 pics with oscommerce 2.2 ms2
