Just in case anyone else has the same problem this partially fixed the problem. The additional images now show in Lightbox but the next and previous buttons are working but at least it's workable. Added below to tpl_modules_additional_images.php thanks to Brandon Walters
require(DIR_WS_MODULES . zen_get_module_directory('additional_images.php'));
?>
<?php
if ($additional->RecordCount() > 0) {
?>
<div id="productAdditionalImages">
<!-- Fix for broken click to enlarge - Brandon Walters http://www.bwaltdesigns.com -->
<?php
while(!$additional->EOF) {
echo '<div class="additional-images"><a href="images/' .$additional->fields['additional_image']. '" rel="lightbox">'.zen_image(DIR_WS_IMAGES . $additional->fields['additional_image'], '', ADDITIONAL_SMALL_IMAGE_WIDTH, ADDITIONAL_SMALL_IMAGE_HEIGHT).'</a></div><br/>';
$additional->MoveNext();
}
?>
</div>
<?php
}
?>
*BUMP
Having same issue but the fix did not work
You all should be posting issues with Zen Lightbox in the Zen Lightbox support thread (where answers to your questions are probably already posted if you use the forum thread search tool and search the support thread).
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Look Diva, I appreciate everything you have done and do.
But that being said there is no reason to be snippy with people the way you are. I have read MANY MANY posts from here and lightbox and many of yours, so just because you know more than others please do not be-little them.
NOW that being said you can DIS-REGARD the last post i made because your MOD would not work correctly no matter what i did and i did read the instructions and all of the docs in the install but no matter what i looked everywhere i still had major issues and it never worked so i found the other mod IMAGE MANAGER and installed it and had it working in under 10 mins and guess what NO ISSUES..
I spent HOURS working on this IH4 and got nowhere but an answer from someone ASSUMING we do not know how to SEARCH i mean jesh i found this forum topic i think maybe i know how to search.
Good day and thank you again for all your help.
Last edited by noahmarket; 14 Oct 2014 at 10:09 PM.
Snippy huh.. okay..that's pretty funny.. The support thread of any module is always the right place to post support questions as other besides myself will tell you.. If you find me making this suggestion to you snippy, or belittling, well then that is YOUR OPINION.. doesn't make it true.. but you are certainly entitled to feel anyway you like..
![]()
and good for you for getting Image Manager working.. It hasn't been updated in 2 years so you might want to be aware of that if you are using newer versions of Zen Cart.. Sorry IH4 didn't work out for you.. though I don't remember you posting in the support thread to seek help.. Other's are happily using IH4 with no issues.. I preferIH4 because it actually optimizes the images (something Image Manager doesn't do..)
BTW, Zen Lightbox is not MY mod..
Last edited by DivaVocals; 15 Oct 2014 at 12:43 AM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.