Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Additional images and Zen Lightbox

    Hi
    Can anyone help please.
    I have an issue with additional images not showing with Zen Lightbox.
    I downloaded the additional images module so that images names would not need to be changed. This all seems to be working in the admin area OK.
    But the additional images although seen on the web page will not work in Zen Lightbox.
    The source code shows that this is not working:

    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript">
    <!-- document.write('<a href="images/sept_1.jpg" rel="lightbox-g" title="image"><img src="images/sept_1.jpg" alt="image2" title=" image3" width="200" height="200" /><br /><span class="imgLink">larger image</span></a>'); //--></script> <noscript> <a href="http://www.website.com/index.php?main_page=popup_image&amp;pID=281&amp;zenid=ds441d45v3dvflphao9vi70em2 " target="_blank"><img src="images/sept_1.jpg" alt="image3" title=" image4" width="200" height="200" /><br /><span class="imgLink">larger image</span></a></noscript> </div>
    <!--eof Main Product Image-->
    <!--bof Additional Product Images -->
    <div id="productAdditionalImages"> <div class="additional-images"><img src="images/additional/sept_2.jpg" alt="" width="200" height="150" /></div><br/><div class="additional-images"><img src="images/additional/sept_3.jpg" alt="" width="200" height="200" /></div><br/><div class="additional-images"><img src="images/additional/sept_4.jpg" alt="" width="200" height="150" /></div><br/><div class="additional-images"><img src="images/additional/sept_5.jpg" alt="" width="200" height="150" /></div><br/><div class="additional-images"><img src="images/additional/sept_6.jpg" alt="" width="200" height="150" /></div><br/></div>
    <!--eof Additional Product Images -->

    It would appear that the Javascript is not working on the Additional Images. I have searched and tried a few things but have hit a brick wall, any suggestions would be helpful thanks.

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Additional images and Zen Lightbox

    A link to your site please?
    Which version of ZC are you using?
    And a link to the exact modules that you have used, i.e lightbox and additional images.

  3. #3
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Additional images and Zen Lightbox

    Quote Originally Posted by picandnix View Post
    A link to your site please?
    Which version of ZC are you using?
    And a link to the exact modules that you have used, i.e lightbox and additional images.
    http://www.bongobits.com/index.php?m...5apb3f3u1f5gf2
    Zencart version 1.3.9h
    Zen LightBox v1.6.2
    Additional product images V2 http://www.zen-cart.com/downloads.php?do=file&id=1063

  4. #4
    Join Date
    May 2011
    Posts
    67
    Plugin Contributions
    6

    Default Re: Additional images and Zen Lightbox

    MISSING <a href="images/YOUR-ADITIONAL-IMG.jpg" rel="lightbox-g" title="image"> BEFORE <img src="images/additional/YOUR-ADITIONAL-IMG.jpg" alt="" width="200" height="200" />

  5. #5
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Additional images and Zen Lightbox

    Quote Originally Posted by Mauari View Post
    MISSING <a href="images/YOUR-ADITIONAL-IMG.jpg" rel="lightbox-g" title="image"> BEFORE <img src="images/additional/YOUR-ADITIONAL-IMG.jpg" alt="" width="200" height="200" />
    Thanks for your reply. I am aware that the above is missing and that it why its not working but would like to know how to fix it.

  6. #6
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: Additional images and Zen Lightbox

    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
    }
    ?>

  7. #7
    Join Date
    Oct 2014
    Location
    North Carolina
    Posts
    8
    Plugin Contributions
    1

    Default Re: Additional images and Zen Lightbox

    *BUMP

    Having same issue but the fix did not work

  8. #8
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Additional images and Zen Lightbox

    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.

  9. #9
    Join Date
    Oct 2014
    Location
    North Carolina
    Posts
    8
    Plugin Contributions
    1

    Default Re: Additional images and Zen Lightbox

    Quote Originally Posted by DivaVocals View Post
    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).

    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.

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Additional images and Zen Lightbox

    Quote Originally Posted by noahmarket View Post

    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.

    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.

 

 

Similar Threads

  1. Additional images and Zen Lightbox
    By ianhg in forum General Questions
    Replies: 1
    Last Post: 6 Nov 2013, 05:30 PM
  2. v138a additional images sometimes not opening correctly using Zen Lightbox
    By paddy_uk2007 in forum General Questions
    Replies: 0
    Last Post: 10 May 2012, 04:43 PM
  3. v139h Zen Lightbox - Additional images not working
    By vaishali in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 27 Mar 2012, 11:36 AM
  4. additional images not showing after upgrading zen lightbox
    By james739 in forum General Questions
    Replies: 4
    Last Post: 28 Mar 2008, 06:27 PM
  5. lightbox and additional images
    By digz in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Oct 2007, 06:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR