Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I upgraded to 1.5 and everything was fine except for a minor issue I am currently experiencing.

    SCENARIO 1: If Gallery Mode and Include Main Image in Gallery are both set to true zen light works fine except that the main image is included as an additional image. This means if you have one image (main product image) when you enlarge, you actually get 2 copies of the same image being displayed as 1 of 1 and 1 of 2. This I think should be expected based on the configuration setting.

    SCENARIO 2: If Gallery Mode is set to true and Include Main Image in Gallery is set to false zen light doesn't work right. When you click on large image the main image is enlarged but none of the additional images are displayed and the next and previous buttons are gone. This to me appears to be a bug.

    SCENARIO 3: If Gallery Mode and Include Main Image in Gallery are both set to false zen light does work either. It displays the main image on clicking large image but none of the additional images are displayed.

    I don't mind the configuration setting in 1 except that it's not user friendly displaying duplicate image. It's also not user friendly to display the same image twice when only one image is present.

    It looks like this code may have something to do with it:
    PHP Code:
    <?php
    if (ZEN_LIGHTBOX_STATUS == 'true') {
      if (
    ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
        
    $rel 'lightbox-g';
      } else {
        
    $rel 'lightbox';
      }
    ?>
    Any help is appreciated.

  2. #2
    Join Date
    Jan 2010
    Location
    Dorset, UK
    Posts
    2
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by BlessIsaacola View Post
    I upgraded to 1.5 and everything was fine except for a minor issue I am currently experiencing.

    SCENARIO 1: If Gallery Mode and Include Main Image in Gallery are both set to true zen light works fine except that the main image is included as an additional image. This means if you have one image (main product image) when you enlarge, you actually get 2 copies of the same image being displayed as 1 of 1 and 1 of 2. This I think should be expected based on the configuration setting.

    SCENARIO 2: If Gallery Mode is set to true and Include Main Image in Gallery is set to false zen light doesn't work right. When you click on large image the main image is enlarged but none of the additional images are displayed and the next and previous buttons are gone. This to me appears to be a bug.

    SCENARIO 3: If Gallery Mode and Include Main Image in Gallery are both set to false zen light does work either. It displays the main image on clicking large image but none of the additional images are displayed.

    I don't mind the configuration setting in 1 except that it's not user friendly displaying duplicate image. It's also not user friendly to display the same image twice when only one image is present.

    It looks like this code may have something to do with it:
    PHP Code:
    <?php
    if (ZEN_LIGHTBOX_STATUS == 'true') {
      if (
    ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
        
    $rel 'lightbox-g';
      } else {
        
    $rel 'lightbox';
      }
    ?>
    Any help is appreciated.
    Hello, I have witnessed the same issue and am rather baffled as when I tested lightbox (v1.5) on my local copy of ZenCart (v1.3.8a) (running on a windaz machine), the feature worked quite well (no duplication of the main image, with or without the gallery mode).

    The other issue I faced was with the install script (I have now seen various posts with similar issues so I am not going to repeat that here). It looks to me like a configuration issue than any flawed logic in the PHP code.

    Well, it's an annoyance to see the same image twice but lightbox is still far better than the horrible default pop up window.

  3. #3
    Join Date
    Jan 2010
    Location
    Dorset, UK
    Posts
    2
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    An update on this. A closer inspection of the live system revealed that an older installation of Slimbox (which had also failed to run on the live system for me) had not been removed cleanly. Re-installing lightbox improved the situation and with the main image excluded from the gallery, I don't see the duplication issue.

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 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