Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    31
    Plugin Contributions
    0

    Idea or Suggestion Re: Zen Lightbox...

    Thank you Alex,CES, Climax, Sigel. It is really working with IH2 now although no hover. But it is working at least. Thank you so much.

    Step 1:
    If someone still has problems with ZenCart 1.3.7.1, ImageHandler 2.0 and Zen Lightbox 1.4 here is what i did to fix it:

    locate the file "additional_images.php" it should be in your includes\modules\"template_name_dir".

    Go to line 23 and remove the ". '$'".
    The line should look now like this:
    $products_image_base = str_replace($products_image_extension , '', $products_image);

    Thats it. Hope it helps others.

    Cheers,
    Climax
    Step2:
    Quote Originally Posted by CES View Post
    How I got around the problem was to ignore the additional_images.php file that came with the mod and copied the core zen additional_images.php file into the override folder: /includes/modules/YOUR_TEMPLATE/

    Then find line 92
    Code:
        // Link Preparation:
    and insert below it the following:
    Code:
    	// bof Zen Lightbox v1.4 aclarke 2007-09-22
    	if (ZEN_LIGHTBOX_STATUS == 'true') {
    	
        $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    	
    	} else {
    			
        $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    	
    	}
    	// eof Zen Lightbox v1.4 aclarke 2007-09-22
    Then directly under that, comment out the following line of code:
    Code:
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    so it looks like this;

    Code:
    //    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    I hope that helps, and I'm not treading on anyone's toes.

    Great mod by the way, thanks.

    Craig

    This is a fantastic mod. Thank you so much again.

  2. #2
    Join Date
    Oct 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    The first Lightbox image works and looks great, but it hangs on the second image. any suggestions.

    It's a clean install of Zen. All of the files are stored in the same directory and they are named with suffixes of _01, _02...

    Thanks for any replies

  3. #3
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Zen Lightbox...

    Quote Originally Posted by helloUK View Post
    Hello anyone,

    I set up light box with Zen Cart 1.37 1 with HI 2(0916). However, it looks like HI does not work with Light box?! Also, when I clicked the product info-image, only the main image works fine for light box but I do not have the "NEXT Button" to look at the other images. (I used HI2 to add extra images.) Please see my website.

    Could anyone help me about HI2 and Light box issue? Could anyone know how I can show the next button?

    Thank you so much.

    Ken
    It looks like there is a bug with this release of Zen Lightbox.

    To get the images (next, previous and close buttons) to display, you'll need to copy the zen_lightbox folder (found in includes/templates/your-template-name/images) to includes/templates/template_default/images. That should sort it out for you. I'll be fixing this issue in the next release.

    What problems were you experiencing with Zen Lightbox and IH2?

    Quote Originally Posted by MemooMeM View Post
    Alex,

    This is just awesome! Websites couldn't look more professional. Thank you for your time and effort, I tell you, they all worth the result.

    Other than it's eye candy, it protects the images as well. Although not impossible, it's more difficult to save images when they are displayed in this lightbox.

    Great stuff man.

    -Memo
    Glad you like it! To protect your images further you can always add a watermark using IH2.

    Quote Originally Posted by Cirius View Post
    The first Lightbox image works and look
    s great, but it hangs on the second image. any suggestions.

    It's a clean install of Zen. All of the files are stored in the same directory and they are named with suffixes of _01, _02...

    Thanks for any replies
    Do you have a link to your website please?

 

 

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