Page 6 of 373 FirstFirst ... 456781656106 ... LastLast
Results 51 to 60 of 3721
  1. #51
    Join Date
    May 2006
    Location
    Newport NC
    Posts
    36
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Alex, pretty cool mod! Photographers can really relate to your mod. We use lightboxes almost everyday!

  2. #52
    Join Date
    Sep 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    managed to replicate the problem . it seems as you suspected in that it only occurs if the page is not fully loaded

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

    Default Re: Zen Lightbox...

    Ok, it's good that we've found the problem.

    I'll look at fixing this issue (is possible) in one of the next releases.

    Thanks for the feedback!

  4. #54
    Join Date
    Sep 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    thx for creating a great looking image viewer , goto be the slickest ive seen on any cart

  5. #55
    Join Date
    Jul 2004
    Location
    Bristol Virginia
    Posts
    162
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    I get an error after downloading and trying to unzip this file:

    ! example.jpg: The file "example.jpg" header is corrupt
    ! readme.txt: The file "readme.txt" header is corrupt
    ! includes\modules\pages: The file "includes\modules\pages" header is corrupt
    ! includes\modules\YOUR-TEMPLATE-FOLDER\additional_images.php: The file "includes\modules\YOUR-TEMPLATE-FOLDER\additional_images.php" header is corrupt
    ! includes\modules\YOUR-TEMPLATE-FOLDER: The file "includes\modules\YOUR-TEMPLATE-FOLDER" header is corrupt
    ! includes\modules: The file "includes\modules" header is corrupt
    ! includes\templates\template_default\images\lightbox\Thumbs.db: The file "includes\templates\template_default\images\lightbox\Thumbs.db" header is corrupt
    ! includes\templates\template_default\images\lightbox: The file "includes\templates\template_default\images\lightbox" header is corrupt
    ! includes\templates\template_default\images: The file "includes\templates\template_default\images" header is corrupt
    ! includes\templates\template_default\jscript\lightbox.js: The file "includes\templates\template_default\jscript\lightbox.js" header is corrupt
    ! includes\templates\template_default\jscript: The file "includes\templates\template_default\jscript" header is corrupt
    ! includes\templates\template_default: The file "includes\templates\template_default" header is corrupt
    ! includes\templates\YOUR-TEMPLATE-FOLDER\css\stylesheet_lightbox.css: The file "includes\templates\YOUR-TEMPLATE-FOLDER\css\stylesheet_lightbox.css" header is corrupt
    ! includes\templates\YOUR-TEMPLATE-FOLDER\css: The file "includes\templates\YOUR-TEMPLATE-FOLDER\css" header is corrupt
    ! includes\templates\YOUR-TEMPLATE-FOLDER\templates\tpl_modules_main_product_image.php: The file "includes\templates\YOUR-TEMPLATE-FOLDER\templates\tpl_modules_main_product_image.php" header is corrupt
    ! includes\templates\YOUR-TEMPLATE-FOLDER\templates: The file "includes\templates\YOUR-TEMPLATE-FOLDER\templates" header is corrupt
    ! includes\templates\YOUR-TEMPLATE-FOLDER: The file "includes\templates\YOUR-TEMPLATE-FOLDER" header is corrupt
    ! includes\templates: The file "includes\templates" header is corrupt
    ! includes: The file "includes" header is corrupt
    Proimpulse Web Site Design

  6. #56
    Join Date
    Apr 2006
    Location
    Kansas
    Posts
    236
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    proimpulse did you unzip it on your server or on your HD?

    if you unzipped on your hd, then i suggest your try d/ling it again, as its a good file.

    if you unzipped it on your server, then you need to unzip it on your hd and THEN upload it in the proper folders.
    G Clef Jewelry
    Dichroic and Beaded Jewelry

  7. #57
    Join Date
    Sep 2006
    Location
    Gillette, NJ, USA
    Posts
    35
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Love Zen Lightbox - it works great and looks even better - except in one circumstance.

    I have Image Handler installed, and it creates the image tag with a javascript hover. Zen Lightbox, then encapsulates this JS in a document.write - which bombs out in IE and FF. Can you escape the interior code? Or do I have to find a way to remove the hovering effect in Image Handler?

    This is the code in question:
    Code:
          <script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/oldimages/OldArmy-Wine_03.jpg" rel="lightbox[gallery]" title="Old Army Tee Shirt-Wine"><img src="bmz_cache/8/8b90f65bad6260af9512af05aecf2ffc.image.64x80.jpg" alt="Old Army Tee Shirt-Wine" title=" Old Army Tee Shirt-Wine " width="64" height="80" style="position:relative" onmouseover="showtrail('bmz_cache/5/574e7d0af96a8d0fa73f529d8b58a04a.image.96x120.jpg','Old Army Tee Shirt-Wine',64,80,96,120,this,0,0,64,80);" onmouseout="hidetrail();"  /><br />larger image</a>');
    //--></script>
    Somehow, the dual JS needs to be escaped or removed. I'll look into removing it on the Image Handler side and will report back to this thread.

  8. #58
    Join Date
    Sep 2006
    Location
    Gillette, NJ, USA
    Posts
    35
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Well, by just stripping out the script tags and document.write stuff - I can make it work perfectly with JS on, but the graceful degrading to noscript when JS is off is lost. When I comment out the noscript tag, everything kind of turns out okay, but I'm sure there's a more elegant solution. It does still work with JS off, though (the pop-up, not lightbox).

    Here's my hack of /includes/modules/YOUR_TEMPLATE/additional_images.php -- line 91

    Code:
        // Link Preparation:
    	// begin zen lightbox v1.2 aclarke 2006-09-07
        $script_link = '<a href="' . $products_image_large . '" rel="lightbox[gallery]" title="' . $products_name . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>';
    	// end zen lightbox v1.2 aclarke 2006-09-07
    
       // $noscript_link = '<noscript>' . ($flag_display_large ? '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large) . '" target="_blank">' . $thumb_regular . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_regular ) . '</noscript>';
    It doesn't degrade as gracefully, but works for now. I'm guessing the code could use some escaping to fix it.

    Thanks for the add-on! I look forward to the compression and stripping of the JS to a smaller filesize.

  9. #59
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Zen Lightbox...

    Those JS script tags are part of the original ZenCart code.

    Why do they need to be removed?

    PS - Zen Lightbox does not support IH2 yet. I'm working on this now. :)

  10. #60
    Join Date
    Sep 2006
    Location
    Gillette, NJ, USA
    Posts
    35
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Code:
    onmouseover="showtrail('bmz_cache/5/574e7d0af96a8d0fa73f529d8b58a04a.image.96x120.jpg','Old Army Tee Shirt-Wine',64,80,96,120,this,0,0,64,80);" onmouseout="hidetrail();"
    This is the JS code that is causing the problem - the code creates a slightly larger version of the image as a hover effect - it is created by Image Handler. Can a document.write write out a second JS function (showtrail) unescaped? Wouldn't the interior end of function - ); - throw it off?

    I'm not good enough with JS to know.

 

 
Page 6 of 373 FirstFirst ... 456781656106 ... LastLast

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

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