Originally Posted by
yellow1912
Fully compatible with image handler and jquery zoom.
An ideal lightbox solution for you, since the next version of zencart will also use jquery by default!
Link download in my sig, will be posted to download section soon.
Overall very nice addition. I was actually looking for something simpler for an image light box than either lightbox of hoverbox. Best thing I liked about yours was it didn't interfere at all with IH2. I found installing either of the other choices would break the js for image mouse over on thumbnail images. I wanted a image light box effect, but only on the main image, and with minimal install impact. Keeps all my images properties from Zencart/IH2. This addition was perfect for just that.
Few notes on bugs/trouble I had when installing. Maybe just me not knowing enough or really are things needing fixed.
I'm running on Windows 2K3 w/ IIS6.
In tpl_modules_main_product_image.php had to change the following line. Couldn't get it to work as it should with <?= so made it use php echo calls.
Code:
document.write('<?php echo '<a href="' . $products_image_large . '" id="jqzoomMain"';?><?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?><?php echo '>' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a>';?>');
In the sql install text changed the '' to NULL.
Code:
INSERT INTO configuration_group VALUES (NULL, 'JQLightbox', 'Set JQLightbox Options', '1', '1');
Hope that helps. Good job overall. You can see my first example at.
http://www.pot-gardens.com/catalog/i...&products_id=3
Bookmarks