I just went back and added the rel="lightbox-g" to all my gallery images on my ezpages - might not be the best solution but thanks to 'sed' it wasnt too bad.
Printable View
i just had another look in my mac--firefox and it works but not on pc with vista-firefox
This is doing my head in...
I have loaded this into my dev environment, and it works fine. I loaded into the test environment and I'm getting
ZEN_LIGHTBOX_COUNTER_IMAGE 1
ZEN_LIGHTBOX_COUNTER_OF 6
under the images in the lightbox instead of
Image 1 of 6
I've reloaded all the files in the install pack and checked that the file sizes are the same.
Can anybody provide some troubleshooting? Where is this referenced?
Cheers!
Hi CabernetCat,
Are you using the latest version of ZLB (1.6.2)?
I did see that issue on v1.6 installations, but it was fixed in 1.6.1
the problem is a missing file calledzen_lightbox.php in includes/languages/english/extra_definitions/[your-template-folder]/zen_lightbox
please check for that file and if you dont have it, then please download the latest version and give that a try.
daniel
Hi Daniel,
Thanks for that pointer! Problem solved. You know I checked those file structures twice... I can't beleive I missed the damn thing.
FYI:I am using 1.6.1
Hi there,
I'm having an issue where pointing at an image reveals the image path on the server rather than showing the image is being pulled from bmz_cache.
I'm running the latest version of ZC and IH2. Zen Lightbox is v.1.61.
Will v. 1.62 correct this issue, or do I need to go back and do a file merge so the lightbox file won't override the IH2 file?
If I need to do a file merge, can you advise as to which file needs to be merged and how to correctly merge the code?
Thanks :)
Yep, that's the site. When I mouse over the images on this page, this page, and this page, the file path and image name are displayed in the status bar. (It actually does this for all main product images on all product pages).
I posted this same question to the IH2 support thread first because I saw another poster had the same issue and had posted there. This is the feedback I was given:A look at the code on the product pages reveals this around line 235:Quote:
you are not using just image handler on that page you are using a lightbox mod, which overwrites image handler file for that page,
I think the very latest version of lightbox (see the support thread as i don't know if its in the downloads yet) should work out of the box with image handler
The file that sets that particular page comes with lightbox
Code:<!--bof Main Product Image -->
<div id="productMainImage" class="centeredContent back">
<script language="javascript" type="text/javascript"><!--
document.write('<a href="images/PGc1.jpg" rel="lightbox-g" title="Staying in the Now"><img src="bmz_cache/c/ca8da9d479083782b2e2dad6008ef12b.image.200x200.jpg" alt="Staying in the Now" title=" Staying in the Now " width="200" height="200" /><br /><span class="imgLink">larger image</span></a>');
//--></script>
<noscript>
<a href="http://empowermentsanctuary.com/marketplace/index.php?main_page=popup_image&pID=37" target="_blank"><img src="bmz_cache/c/ca8da9d479083782b2e2dad6008ef12b.image.200x200.jpg" alt="Staying in the Now" title=" Staying in the Now " width="200" height="200" /><br /><span class="imgLink">larger image</span></a></noscript>
</div>
<!--eof Main Product Image-->
Update, a new comment on the IH2 Support Thread from DivaVocals may be the answer. Your thoughts?
Quote:
Nigel is correct and in the next release (should be submitted this week - still testing the modifications) I'll make sure I add this to the readme.. The latest versions of the Zen Lightbox supports IH2 OUT THE BOX without any file merging required.. I'm at work and I can't remember which file it is off the top of my head, but there is ONE file that ZLB and IH2 have in common.. You do NOT need to merge the ZLB file with the IH2 file.. Simply REPLACE the IH2 file with the one from ZLB fileset and you should be good to go
One more thing...
When I installed IH2 and Zen Lightbox 161, the only common file I found was includes/modules/custom_template/additional_images.php. At that time, I overrode the IH2 file with the ZLB file.
If I download ZLB 162 and do the same thing, will this resolve the issue, or is there another file I need to do this with?