Image Handler3 at the heart of it's code is really meant to ease the management of product images (particularly the management of additional product images), and to help improve page performance by
optimizing the product images.
Image Handler3 generates product images (based on your image settings) in the Image Handler3 bmz_cache folder. It DOES NOT replace or modify the original images. So it's PERFECTLY safe to use on an existing store.
Image Handler3 enables you to use GD libraries or ImageMagick (if installed on your server) to generate and resize small, medium and large images on the fly on page request. You can simply upload just one image or you can have different sources for medium and large images. Image Handler3 further enables you to watermark your images (overlay a second specific translucent image) and have medium or large images pop up when you move your mouse over a small image (fancy hover).
This contribution includes a powerful admin interface to browse your products just like you would with the Attribute Manager and upload / delete / add additional images without having to do this manually via FTP. Image Handler3 works fine with mass update utilities like EzPopulate.
Features
Improve site performance (faster loading, faster display)
Professional looking images (no stair-effects, smooth edges)
Choose preferred image-types for each image size
Uploading one image automatically creates small, medium and large images on page request
Drops in and out seamlessly. No need to redo your images. All images are kept.
Easy install. One-click-database-upgrade.
Works with mass-update/-upload tools like EzPopulate.
Watermark images to prevent competitors from stealing them.
Fancy image hover functionality lets a larger image pop up whenever you move your mouse above a small image (switchable).
Choose an image background color matching to match you site's color or select a transparent background for your images.
Manage your multiple images for products easily from one page just like you do with attributes in the Products Attribute Manager.
Image Handler3 is meant to ease the work required to setup images for your store. It works WITH default Zen Cart functionality, it does not replace it. There are a couple of threads which explain what Image Handler IS and more importantly what it is NOT. It is suggested that you read everything before you install Image Handler3. Here's some additional FAQs which discuss how product images and the override system work in Zen Cart. It is strongly suggested that if you are NEW to Zen Cart and web development that you read these threads BEFORE you install Image Handler3.
Image Handler3 works out of the box. There’s no need to configure anything if you are ok with the presets. If you want to change the way Image Handler deals with your images go to Configuration > Images.
Image Handler3 creates images (based on your image settings) in the bmz_cache folder. It DOES NOT replace or modify the original images.
USAGE
Let's do a quick example. You have this nice product, took a shot with your brand new digital camera and removed the background with your favourite image manipulation program (I suggest gimp). You save this file as Portable Network Graphic (png) to keep the alpha channel, that is the transparent areas where you want to look through to your website. Let's say the image is 600 pixels wide and has a height of 800 pixels (600×800). You specified 100×80 for your small images and 150×120 for your medium sized images.
Since the product list view you use has different colors for odd and even rows, you want to keep the transparency at least for small images. You choose .png or .gif for the small image filtype and transparent for the small image background.
Now you think of your medium and large sized images. You don't want them to be in the gif format because it doesn't compress that good and you want to have more than 256 colors in your high resolution images. Further you don't care about transparency because you have just one background color in your product info page or the popup image window, so you can go with .jpg. That's what you specify for the medium and large image filetype. Let's assume you have a white background in both the product info page and the popup image window so you type 255:255:255 into the fields for medium image background and large image background.
CREDITS & HISTORY
Based on Image Handler2Ver 2.0 Rev 7 for Zen Cart 1.3.8a updated by ckosloff.
Image Handler3 v3.0 modifications by:
nagelkruid (nagelkruid@gmail.com)
Nigelt74 (http://webzings.com)
C Jones (http://overthehillweb.com)
K Hudson
TROUBLESHOOTING
FILES
Image Handler3 makes minor modifications to some core Zen
Cart files in order to work correctly. If you've installed other mods
in your store, you should use a program like Winmerge or Beyond Compare
to merge in the required changes for Image Handler3 into
your existing store files. If this is a fresh (vanilla) Zen Cart
install, you can simply overwrite the default Zen Cart files.
Here is the full list of core Zen Cart files that are affected by Image Handler3:
Image Handler3 is released under the General Public License (see LICENSE.txt)
This script is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Always backup your shop and database before making changes.