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