Thread: Zen Lightbox 4

Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2006
    Location
    Grimsby UK
    Posts
    98
    Plugin Contributions
    0

    Default Zen Lightbox 4

    I don't know if I asked the wrong question, but I got no answer to this one, here I go again:
    I have installed Zen Lightbox correctly, and since doing so I now only have one image on my product info page. It is really important that I have the other images to show the products correctly.
    I also have a module that runs the text down the right hand side to neaten things up. The problem has only arisen after I installed Zen Light Box though.
    Any ideas?

    Thanks

    Dave

  2. #2
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Zen Lightbox 4

    Install version 1.3

    1.4 has given me many headaches too. 1.3 is fine.

  3. #3

    Default Re: Zen Lightbox 4

    I had the same problem, and the answer is a bit complicated....

    Here's how to fix the problem with Lightbox alone:
    See post #792 here for the fix:
    http://www.zen-cart.com/forum/showth...=45314&page=80

    If you use Lightbox AND Image Handler 2 together, you need to do the fix above. In addition you need to use the fix below:
    See post #986 here for the fix:
    http://www.zen-cart.com/forum/showth...=35913&page=99

    One last thing.... This is optional, it fixes something I consider a nuisance, but additional images still work without this fix:
    I'm not sure exactly under what conditions this happens, but I know that I have this problem with Lightbox, IH2, and a bunch of other mods installed. On IE browsers, if I have two additional images, the images don't line up on the bottom in one row. This is caused because with IE browsers 100% width just doesn't seem to work right here. For 3 images, no problem because 33%+33%+33%=99%. For 1 image, no problem, because it is only one additional image. With 2 additional images, 50%+50%=100% -- PROBLEM!!! So, I changed the following in modules/additional_images.php:

    // List Box array generation:
    if ($col_width == '50') {
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:49.99%;"',
    'text' => "\n " . $link);
    } else {
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => "\n " . $link); }
    $col ++;
    if ($col > (IMAGES_AUTO_ADDED -1)) {
    $col = 0;
    $row ++;

    Of course, if you change the number of additional images per row from 3 to another number, this fix would need to be modified. 4 wouldn't work because 25+25+25+25=100!

    I hope that helps. :)

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Zen Lightbox 4

    The fix for Lightbox alone is incorporated in the latest version.

    No matter what I do, Image Handler just lays there with a + sign.

    BTW clean install of 1.3.8 -- Installed Light Box which did and does work fine.

    Installed IMH (latest version and it lays there, and the fix in post 986 makes no difference.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5

    Default Re: Zen Lightbox 4

    Are you sure that the fix is incorporated in the new version? I installed this mod well after September 23rd (about a month ago), so I assume I installed the latest version....although I can't be sure...I honestly don't remember. I had to do both the IH and the Zen Lightboxes mods I wrote about to make it work for me. (I tried them separately with no luck.)

    Just an FYI- The change for Lightboxes has nothing to do with what is added. Yes, the newest version of 1.4 adds this code. The change for Lightboxes I linked to above takes some of the Lightbox changes out, because you start from scratch and only add back in part of the Lightbox code.

    Another thought -- Maybe it has to do with v1.3.8. I am still using 1.3.7.1.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Zen Lightbox 4

    Quote Originally Posted by srturner47 View Post
    Another thought -- Maybe it has to do with v1.3.8. I am still using 1.3.7.1.
    Tried in 1.3.6, 1.3.7, 1.3.7.1, and 1.3.8. No Joy
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. IH and Zen Colorbox vs Zen Lightbox?
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 28 Jan 2015, 02:29 AM
  2. Zen Lightbox
    By ttmb33 in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 17 May 2012, 04:00 PM
  3. Installing Zen Lightbox
    By megetweh in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 31 Jan 2010, 08:41 PM
  4. Zen Lightbox trouble
    By nedbenj in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Oct 2007, 11:15 PM
  5. Zen Lightbox
    By surrealcurly in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jan 2007, 11:56 PM

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