Community Add-Ons
Additional Images Module
for osCommerce Online Merchant v2.2
Additional Images (Version 1.0)
<b>Features:</b>
- A real image module
- 'Unlimited' additional images for each product
- Popup image for each additionals
- Add/Delete additional images from Admin panel
- 3 sizes image
Send your comment to forum:
Enjoy :)
Parikesit
If you are using lightbox as popup image replacement of the default OSC popup script and you have applied Additional Images Module
contribution to your shop as well, use this package to apply the lightbox effect to the additional images as well.
Compatible with version 1.11, not tested on other versions but if you use the modification instructions I believe it'll work with other versions as well.
2007/09/21 - v2.0.1 - Tree365(tree365@hotmail.com)
+ Added codes for 2_files_to_compare/catalog/admin/includes/functions/general.php
For delete main product's medium image and pop image
Change the files in the 2_files_to_compare directory from the Additional Images v2.0.0 package with these files to make the Additional Images work with osc 2.2 RC1.
This is a complete package. Screenshots included. See contribution package for complete abstract.
Updates:
+ Added third image size for the product_info.php page so that now there
is a 3 image set to provide clear images without distortion. Image thumbnail
is displayed on product lists, medium size for Product Info page, and large
size for the popup. Each size is definable.
+ Added definable Image Description for Product images.
+ Added configuration options to allow several ways to display
the additional images including group with default image, display
images in a user defined number of rows and columns, and more.
+ Added the ability to automatically thumbnail images using php GD functions
when inserting and updating products.
+ Added image management that actively keeps track of images and
deletes them when products and images are removed from the database.
Yes, this includes all generated thumb images.
+ Added an image thumbnail menu on the popup that shows all images and the
option to not show this thumbnail menu. Similar to Amazon.com's image popup.
+ Added a sizing routine to size the popup to the size of the largest image
prior to dispaying it so when using the mouse-over display, the popup is
already sized to fit them all.
+ Added a utility to manage and regenerate thumbnails when you upload new images.
+ Added a database configuration manager for easy upgrades and settings resets.
+ Added thumbnail menu with mouse-over display for product page and popup.
Support:
http://forums.oscommerce.com/index.php?showtopic=35801
This is a complete package.
Updates:
+ fixed 1 more possible SQL injection
+ added regular osC popup image code to the module.
+ moved additional language to language file
+ added second image size. Original contrib description says it has 3 image
sizes. But when installing, found there was only 1 image size per
additional image defined. So I added a thumbnail, now there is really 2
image sizes per additional image.
+ fixed missing field in Product Edit query
+ added files based on the oscommerce 2.2 ms2 051113 release to compare with
WinDiff or Beyond Compare instead of using the step by step instructions.
Support:
http://forums.oscommerce.com/index.php?showtopic=35801
Fixed 3 possible SQL-Injection in alle PHP files of the package. Didn't test the package afterwards - do on own risk.
based on the version 1.12 Slight bug fix with medium images coulmn in database.
Updated the additional images sql file to fix it.
This probable stopped a lot of new users from enjoying such a great contribution.
This is a full package.
Here is the german translation.
Add Content to catalog/admin/includes/german/categories.php
Modified work whit "On the Fly Auto Thumbnailer using GD Library"-contribution.
Now small images are created automatically.
NOTE: You mast have 'On the Fly' Auto Thumbnailer using GD Library contribution
installed.
See:
http://www.oscommerce.com/community/contributions,2226
Small bugfix at popup_image.php
Whole pack included.
Based on December 28 2003 modification.
Added functionality to show original images, when no pop up defined.
Adapted for CVS MS3
I fix 2 bugs to delete the images uploaded when the product was deleted
and when an additional image was deleted too.
I make some changes to add a real main popup image and you can use the popup
funcionality for a main image.
So, if you have last version of Zaenal works installed on your OsC and want to
use "real main popup image" and "delete popup image", you only need modify
catalog/admin/categories.php
catalog/popup_image.php
catalog/product_info.php
in the section "REAL MAIN POPUP IMAGE", "DELETE POPUP IMAGE" and adding some languages define to admin/includes/languages/english/categories.php; Otherwise,
please disregards this update.
See: http://forums.oscommerce.com/viewtopic.php?t=56697
Base on Toby works, I make change to catalog/admin/categories.php
(also .../english/categories.php). This main change apply due to "upload class"
provided by MS2. It's also will check is "medium_images" field is empty or not.
So, if you have last version of Toby works installed on your OsC and want to
use "upload class", you only need modify catalog/admin/categories.php and adding
some languages define to admin/includes/languages/english/categories.php; Otherwise,
please disregards this update.
I also add "KEY products_id (products_id)" to table "additional_images"
This is the package you should download for MS2.
It includes cleaned up installation instructions which work perfectly on a fresh MS2 shop. My apologies for the duplicate instructions in the previous packages.
Enjoy!
D'oh! Forgot to include the .sql file in the last package. This is the full package with all the files included!
This is an update to the original contribution with the following changes:
- Install instructions re-written for MS2
- Update of code to work with MS2
- Added display of thumbnails in admin so you know what images you have added or are about to delete
- Various bits of tweaking and tidying
Discuss in the Contributions forum under the thread entitled "Additional Images for MS2"
This is a full package!
Added:
- Popup image handling for both old CVS and MS1
Cheers,
zaenal
This patch include patch 1 and patch 2 (all for one patch). So, you don't have to download it... I hope :)
Please report the bug to: http://forums.oscommerce.com/viewtopic.php?t=35801
PATCH:
//admin
ADMIN/INCLUDES/apllication_top.php
//catalog
CATALOG/INCLUDES/application_top.php
CATALOG/INCLUDES/MODULE/additional_images.php
CATALOG/INCLUDES/CLASSES/boxes.php
//database
add_images.sql
Enjoy :)
Parikesit
Adding SQL miss configuration:
add_images.sql
Zaenal
Add missing files and configuration. (Thank's to Lorene for the bug reports.)
#Admin
- admin/includes/application_top.php
#Catalog
- catalog/includes/application_top.php
- catalog/includes/classes/boxex.php
See the forum for further information:
http://forums.oscommerce.com/viewtopic.php?t=35801
Regards
Parikesit
Additional Images (Version 1.0)
<b>Features:</b>
- A real image module
- 'Unlimited' additional images for each product
- Popup image for each additionals
- Add/Delete additional images from Admin panel
- 3 sizes image
Send your comment to forum:
Enjoy :)
Parikesit
