Hi is there any updates regarding the extra text that is displayed on the product review page and the failing to display review product images in the wonderful light box.
Hi is there any updates regarding the extra text that is displayed on the product review page and the failing to display review product images in the wonderful light box.
Zen Lightbox uses rel="gallery" in the href line of code. Try this and it should work!
I was working on a fix, but had to park that for the moment. I'm currently overloaded with work and am setting up 4 Zen Cart sites for different clients who all want lots of customised stuff!
I'll try and get an update released asap. :)
My Contributions: Zen Lightbox | Best Sellers Reloaded
hia
have got light box working on site, a few questions.
1. ive read on the thread there is a error with the hover function in IE (im using v6,) . ive disabled it from the admin page at the moment but will like to use it. i get an error message at the bottom of iE when it is on (clint y etc ) , but it does work. the error dissaperes if the page is reloaded. any ideas on fix for this
2. ive installed IH2, im assuming that when one image is uploaded from the products discription page, IH2 will create a small, medium and large image versions for the image. Now with the lightbox istalled which image is being called up to be displayed? the default image i uploaded? and are the other size images still being created (small and medium large) as when looking for these images within the image directory i could not find the various size images.
the reason this is bothering me, i do not want zencart to be showing the default size imge on the main homepage with the dimensions just reduced, as the site is really slow anyway. trying to speed it up.
hope this made sence to someone. thanks/ in advance
![]()
need to have site online this week
Alex thanks for the tip. I tried
<a href="/feature/killer-1.jpg" rel="gallery[gal1]"></a>
<a href="/feature/killer-2.jpg" rel="gallery[gal1]"></a>
<a href="/feature/killer-3.jpg" rel="gallery[gal1]"></a>
<a href="/feature/killer-1.jpg" rel="gallery"><img src="/images/thumb-1.jpg" width="100" height="40" alt="" /></a>
but it didnt work... can it only be used in product pages or have i messed up something..
Well... the above code uses 2 different 'rel' values. They should be the same.
Also you'll need to call the lightbox jscript file. This needs to be called on all pages you want to use the lightbox effect on. You'll notice that this file is automatically loaded when the product_info_display page is opened. Check out the file structure of Zen Lightbox and it should become more clearer. :)
My Contributions: Zen Lightbox | Best Sellers Reloaded
Without re-reading the whole thread I don't know if this was brought up already but here goes.........To get the product info page or any other page using the light box you need to make a change to the following line in includes/templates/YOUR_CUSTOM_TEMPLATE/templates/tpl_modules_main_product_image.phpYou need to add \ in two places....like this.....all the way at the end:Code:document.write('<?php echo '<a href="' . zen_image_lightbox_IH2_url($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');Code:document.write('<?php echo '<a href="' . zen_image_lightbox_IH2_url($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '<\/span><\/a>'; ?>');
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
huh you would think I could finish a thought when typing with three screaming children in the house.
what I meant to say was "To get the product info page or any other page using the light box to validate"
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
Bookmarks