Contributions
OPI: Another OsC Product Image Module
OsCommerce Product Image - OPI Module, is another product image handling with advanced features.
REQUIREMENTS:
--------------
- jQuery & jQuery-UI
- PHP GD library
- Apache ModRewrite (recommended)
FEATURES:
------------
- Upload image (Ajax),
- Browse images on server (Ajax),
- Delete images on server (Ajax),
- Create new directory inside image folder (Ajax),
- Admin privileges configurable for: delete image & create new directory
- Thumbnail configurable,
- Watermark configurable,
- Fancy image url (SEO) with Apache ModRewrite (or direct access to PHP image handling for IIS)
- Multi-languages javascript interface
Cheers,
Zaenal a.k.a Parikesit
Expand All / Collapse All
NEW FEATURES?
No new features. Just tighten up security of opi_thumbnail.php file by sanitizing all user input.
FORUM SUPPORT:
http://forums.oscommerce.com/topic/378791-contribution-opi-osc-product-image-module/
Instruction:
------------
- INSTALL: if you never install OPI, download full package from previous release (OPI version 2.0), and replace opi_thumbnail.php with this one.
- UPGRADE:
(1) Backup your old opi_thumbnail.php (always backup first).
(2) If you previously made some change to opi_thumbnail.php configuration, also make some change to this one.
(3) Upload the new one opi_thumbnail.php
@zaenal
NEW FEATURES:
+ Add checkbox to enable/disable "auto-rename" when uploading image.
+ New configuration "OPI: mod_rewrite enabled"
So, now for IIS users just set "OPI: mod_rewrite enabled" to false to make OPI works.
FORUM SUPPORT:
http://forums.oscommerce.com/topic/378791-contribution-opi-osc-product-image-module/
CHANGELOG (Version 2.0)
New Features:
- New configuration "OPI: mod_rewrite enabled" (for IIS, set to false)
- Add checkbox to enable/disable "auto-rename" when uploading image.
- (And cumulative new features from previous update)
Enhancement:
- Some javascript enhancement.
Bug fix:
- Remove image thumbnail from cache when deleting image
- product_images not included when duplicate product
- (And cumulative bug fix from previous update)
Bug Fix:
- wrong CHMOD when creating folder cache on Linux.
So, now add new constant:
define('OPI_FS_CHMOD', 0755);
// some server required 0775 or 0777
IMPORTANT:
If you previously installed OPI, delete all files & folders inside "images/_thumbnail_". If you can not do this by FTP, try to login to your CPanel or login as root. Or, simply rename "_thumbnail_" to other name, and create a new one.
Instruction:
------------
- Delete all files/folders inside "images/_thumbnail_".
- Download full package from previous release (OPI version 1.1).
- Than replace your opi_thumbnail.php with this one.
Bug Fix:
--------
watermark not show
New Feature:
-------------
- watermark position (default: "CC")
- watermark opacity (default: 20)
define('OPI_IMAGES_WM_POSITION', 'CC');
define('OPI_IMAGES_WM_OPACITY', 20);
Instruction:
------------
- Download full package from previous release (OPI version 1.1).
- Than replace your opi_thumbnail.php with this one.
A bug when removing all image(s) from the product (emptying image).
File: categories-opi.php
Instruction:
- Download full package from previous release (OPI version 1.1).
- Than replace your categories.php with this one.
Thanks again to Francois for mentioned it in this post: http://forums.oscommerce.com/topic/378791-contribution-opi-osc-product-image-module/page__view__findpost__p__1598315
Minor bug on display when removing the last image of a product.
File: jquery.oscProductImage.js
Instruction:
- Download full package from previous release (OPI version 1.1).
- Than replace jquery.oscProductImage.js in folder (OPI)/ext/jquery/plugins/ with this one.
Thanks to Francois for mentioned it in this post: http://forums.oscommerce.com/topic/378791-contribution-opi-osc-product-image-module/page__view__findpost__p__1598289
FORUM SUPPORT:
http://forums.oscommerce.com/topic/378791-contribution-opi-osc-product-image-module/
CHANGELOG:
+ 2011/08/20 - Version 1.1
- Updated admin/categories.php
Bug (on line 356): 'products_images' => '',
- Updated ext/jquery/plugins/jquery.oscProductImage.js
Bug (on line 952): loading image when 'products_images' is empty
OsCommerce Product Image - OPI Module, is another product image handling with advanced features.
REQUIREMENTS:
--------------
- jQuery & jQuery-UI
- PHP GD library
- Apache ModRewrite (recommended)
FEATURES:
------------
- Upload image (Ajax),
- Browse images on server (Ajax),
- Delete images on server (Ajax),
- Create new directory inside image folder (Ajax),
- Admin privileges configurable for: delete image & create new directory
- Thumbnail configurable,
- Watermark configurable,
- Fancy image url (SEO) with Apache ModRewrite (or direct access to PHP image handling for IIS)
- Multi-languages javascript interface
Cheers,
Zaenal a.k.a Parikesit
Note: Contributions are used at own risk.