Zen Lightbox

Average Rating: 2
Description
This contribution adds lightbox support to Zen Cart. All large product images will be displayed within a lightbox. This eliminates the need for popup windows and makes your website much more user friendly. Additional product images are displayed within a simple gallery interface.

Credit is due to Christophe Beyls for creating Lightbox JS v2, Chris Boylan for his work on the Image Handler 2 support and the Zen Cart Team for creating the best open source ecommerce package available!
+ Download Latest

Forum Support Thread

Submit An Updated Version
Zen Cart® Versions v1.5.6
Original Author Alex Clarke
Last Updated by ianhg - 14 Aug 2019
Downloads 69,493

Version History

Zen Lightbox   -   Version: 1.6.5
Updated includes/modules/YOUR TEMPLATE/additional_images.php
Line 69 from $list_box_contents = ' '; to $list_box_contents = array();
Updated for PHP 7.2
  + Download
Zen Cart® Versions v1.5.6
Date Added 14 Aug 2019
Author ianhg
File Size 112.2 KB
PHP 5.3 Safe? No
Downloads 1,021
 
Zen Lightbox   -   Version: 1.6.5
Improved CSS/JS handling
Added support (not required) for CSS/JS loader
Changed to use a single set of JS files
Added auto Installer added support for zencart 1.5.4
Upgraded jQuery version
Added loading jQuery via CDN
Added check for jQuery to avoid double loading
  + Download
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 26 May 2015
Author bislewl
File Size 109.9 KB
PHP 5.3 Safe? Yes
Downloads 2,739
 
Zen Lightbox   -   Version: Version: 1.6.4b_1.5
Added the mobile updates provided by @pewe   + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 10 Nov 2013
Author niestudio
File Size 95.8 KB
PHP 5.3 Safe? Yes
Downloads 3,511
 
Zen Lightbox   -   Version: 1.6.4a_1.5
Incorporated corrections identified with functionality of Image Handler (Version 4 was tested) if an image handler is installed and Zen Lightbox is turned off. This plugin was previously written to expect the image handler code to address obtaining the picture location/handle any potential security issues associate with the filename.

In summary: If Zen Lightbox and an image handler are installed, turning off Zen Lightbox will now provide the correct direct path to any large image that is to be provded. This maintains control of the path so that downstream processing may remain secure and not easily allow a XSS issue. includes/templates/YOUR_TEMPLATE_FOLDER/popup_image_additional/tpl_main_page.php, if present should be reviewed to ensure that it complies with the default ZC version, or update this and the applicable version of Image Handler to not bypass the XSS safety features of the tpl_main_page.php file.

With a little more detail: Issue is/was two-fold: if Zen Lightbox was deactivated and Image Handler had already been installed (depending on the content of the includes/templates/YOUR_TEMPLATE_FOLDER/popup_image_additional/tpl_main_page.php file, if present), then clicking an additional image would result in presenting the default "No Image" image or in previous revisions of IH would not verify that the image pathname was located on the local computer. That would make it possible to inject a chosen filename into the path when calling the popup_image_additional image. (XSS issue). With installation of this update, the correct filename path is passed on to the code presenting the image. It does not correct the potential issue with the above template file.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 25 Aug 2013
Author mc12345678
File Size 92.6 KB
PHP 5.3 Safe? Yes
Downloads 930
 
Zen Lightbox   -   Version: 1.6.4_1.5
Updated the ez-page scripts to bring back the auto ez-page feature.
Re-wrote the handling of the "Always show prev/next" setting
  + Download
Zen Cart® Versions v1.5.0
Date Added 7 May 2012
Author niestudio
File Size 92.1 KB
PHP 5.3 Safe? Yes
Downloads 7,970
 
Zen Lightbox   -   Version: 1.6.3_1.5a
Version 1.6.3_1.5a - Release Date: 2012-03-11

Updated the following files to remove leftover 1.3.8 and 1.3.9 code and to make sure 1.5 code is all merged in:
~ includes/modules/YOUR_TEMPLATE_FOLDER/additional_images.php
~ includes/templates/YOUR_TEMPLATE_FOLDER/templates/tpl_modules_main_product_image.php
  + Download
Zen Cart® Versions v1.5.0
Date Added 11 Mar 2012
Author DivaVocals
File Size 92.7 KB
PHP 5.3 Safe? Yes
Downloads 1,422
 
Zen Lightbox   -   Version: 1.6.3_1.5
This is a slight modification for compatibility with _b_ZenCart 1.5.
(NOTE: 1.3.x users should continue to use Zen Lightbox v1.6.2)
  + Download
Zen Cart® Versions v1.5.0
Date Added 1 Jan 2012
Author niestudio
File Size 86.1 KB
PHP 5.3 Safe? Yes
Downloads 1,416
 
Zen Lightbox   -   Version: 1.6.2
Restored close on image click functionality.
Added admin parameter to show Previous and Next buttons all the time instead of on hover (if there are additional images).
upgrading from 1.6.1 Requires running the upgrade.sql file and merging a few files on your server.
see the upgrade section in the readme file.
  + Download
Zen Cart® Versions v1.3.9
Date Added 20 Feb 2011
Author niestudio
File Size 84.9 KB
PHP 5.3 Safe? Unknown
Downloads 9,032
 
Zen Lightbox   -   Version: 1.6.1
Added missing "extra_definitions" file
updated slimbox.php to read the overlay click admin parameter
  + Download
Zen Cart® Versions v1.3.9
Date Added 15 Jan 2011
Author niestudio
File Size 79.4 KB
PHP 5.3 Safe? Yes
Downloads 1,550
 
Zen Lightbox   -   Version: 1.6
• Zen Cart 1.3.9h compatibilty (should still work ok with 1.3.8a)
• Migrated from MooTools to jQuery 1.4.4.min
• Updated to latest Slimbox: 2.04
• Updated stylesheet to match the latest SlimBox
• Tested with Image Handler 2 Rev 8d
  + Download
Zen Cart® Versions v1.3.9
Date Added 29 Dec 2010
Author niestudio
File Size 78.3 KB
PHP 5.3 Safe? Unknown
Downloads 641
 
Zen Lightbox   -   Version: 1.5
- Added Caption Animation Duration admin switch
- Added Close Lightbox admin switch
- Added Close on Image Click admin switch
- Added Display Image Counter admin switch
- Added Enable Keyboard Navigation admin switch
- Added full support for multilingual stores
- Added greater flexibility for Overlay Fade Duration admin switch
- Added Image Fade Duration admin switch
- Added Include Main Image in Gallery admin switch
- Added Initial Height admin switch
- Added Initial Width admin switch
- Added missing _/b_ to install.sql file
- Added Next Image admin switch
- Added Previous Image admin switch
- Added Resize Transition admin switch
- Added support for lightbox effect on any page (including EZ-Pages)
- Added title attributes (similar to alt text) to lightbox buttons
- Added uninstall.sql file
- Removed Border Size admin switch (this is now controlled by CSS)
- Removed DIV Class to Hide admin switch
- Removed Enable Resize Animations admin switch
- Removed header_php.php core file change
- Removed Hide Flash Objects admin switch (Slimbox handles this automatically)
- Updated blank entries in install.sql file to NULL
- Updated invalid characters in rel attributes of links (output code is now valid XHTML)
- Updated JavaScript code to classes to avoid source code duplication
- Updated lightbox code to Slimbox v1.67
- Updated modules to prevent JavaScript code from loading when Zen Lightbox is disabled
- Updated support for Zen Cart 1.3.8a and Image Handler 2.0_for_137
- Updated various configuration titles and descriptions within the admin
  + Download
Zen Cart® Versions v1.3.8
Date Added 18 Dec 2008
Author Alex Clarke
File Size 96.1 KB
PHP 5.3 Safe? Unknown
Downloads 17,934
 
Zen Lightbox   -   Version: 1.4.UPDATED
UPGRADED TO WORK WITH 1.3.8A all credit goes to original author

- Renamed Zen Lightbox function, various files and folders
- Improved use of the overrides system for JavaScript and image files
- Added admin switch to enable/disable Zen Lightbox
- Added admin switch to adjust the overlay opacity
- Added admin switch to adjust the overlay fade duration
- Added admin switch to enable/disable resize animations
- Added admin switch to adjust the resize speed
- Added admin switch to adjust the border size
- Added admin switch to enable/disable the lightbox from closing when you click on the overlay
- Added admin switch to enable/disable Flash objects from being hidden when the lightbox is displayed
- Added admin switch to specify a DIV class to hide when the lightbox is displayed
- Added lightbox functionality to document_general_info, document_product_info, product_free_shipping_info, product_music_info, product_reviews, products_reviews_info and product_reviews_write pages.
- Updated Lightbox JS v2 code to version 2.03.3
- Reverted to original CSS code (with custom fixes)
- Fixed model number display error on product_reviews page
- Added code to load all lightbox resources before image loading is complete
- Updated support for Zen Cart 1.3.7.1 and Image Handler 2.0 v0916
- Removed close link from lightbox image
  + Download
Zen Cart® Versions v1.3.8
Date Added 8 Apr 2008
Author knuckle-101
File Size 88.1 KB
PHP 5.3 Safe? Unknown
Downloads 5,925
 
Zen Lightbox   -   Version: 1.4
- Renamed Zen Lightbox function, various files and folders
- Improved use of the overrides system for JavaScript and image files
- Added admin switch to enable/disable Zen Lightbox
- Added admin switch to adjust the overlay opacity
- Added admin switch to adjust the overlay fade duration
- Added admin switch to enable/disable resize animations
- Added admin switch to adjust the resize speed
- Added admin switch to adjust the border size
- Added admin switch to enable/disable the lightbox from closing when you click on the overlay
- Added admin switch to enable/disable Flash objects from being hidden when the lightbox is displayed
- Added admin switch to specify a DIV class to hide when the lightbox is displayed
- Added lightbox functionality to document_general_info, document_product_info, product_free_shipping_info, product_music_info, product_reviews, products_reviews_info and product_reviews_write pages.
- Updated Lightbox JS v2 code to version 2.03.3
- Reverted to original CSS code (with custom fixes)
- Fixed model number display error on product_reviews page
- Added code to load all lightbox resources before image loading is complete
- Updated support for Zen Cart 1.3.7.1 and Image Handler 2.0 v0916
- Removed close link from lightbox image
  + Download
Zen Cart® Versions v1.3.7
Date Added 23 Sep 2007
Author Alex Clarke
File Size 85.0 KB
PHP 5.3 Safe? Unknown
Downloads 4,982
 
Zen Lightbox   -   Version: 1.3
- Added support for Image Handler 2
- Fixed apostrophes error in image display code
- Updated CSS file (compressed by 15.8%) using CSS Tidy at www.cleancss.com
- Updated source formatting of various files

NOTE: This is a .RAR archive. You will require an appropriate extraction tool to open it. WinZip and WinRAR can be used for this.
  + Download
Zen Cart® Versions v1.3.5
Date Added 20 Oct 2006
Author Alex Clarke
File Size 57.7 KB
PHP 5.3 Safe? Unknown
Downloads 7,204
 
Zen Lightbox   -   Version: 1.2
- Removed redundant images files -_ 'prev.gif' and 'next.gif'
- Fixed width of 'prev' and 'next' links
- Added close link to lightbox image
- Added Flash by-pass code to avoid overlay issues
  + Download
Zen Cart® Versions v1.3.5
Date Added 7 Sep 2006
Author Alex Clarke
File Size 56.8 KB
PHP 5.3 Safe? Unknown
Downloads 1,611
 
Zen Lightbox   -   Version: 1.1
Added support for additional images.   + Download
Zen Cart® Versions v1.3.5
Date Added 6 Sep 2006
Author Alex Clarke
File Size 52.2 KB
PHP 5.3 Safe? Unknown
Downloads 715
 
Zen Lightbox   -   Version: 1.0
This contribution simply adds lightbox support to ZenCart. Now all large product images (on the product info pages) are displayed within a lightbox. This eliminates the need for popup windows and makes your website much more user friendly.

Credit goes to Lokesh Dhakar for creating Lightbox JS v2 and the ZenCart team. Please feel free to contact me if you have any comments or questions.

Alex Clarke
  + Download
Zen Cart® Versions
Date Added 5 Sep 2006
Author Alex Clarke
File Size 45.2 KB
PHP 5.3 Safe? Unknown
Downloads 890
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR