Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    162
    Plugin Contributions
    0

    Default Lightbox JS v2.0 problem

    I have just installed the above add on and althought the product images are working perfectly, the EZ pages images are not using the lightbox effect.

    Please see:
    www.baitworks.co.uk

    and view one of the EZ pages e.g. news-uk

    The page has:
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
    in the header section and the images are coded eg.:

    <a href="images/dec10/back lake 33lb 016.JPG" rel="lightbox[News Jul 09 - Dec 09]"title=" Kevin Haskins, Dec 2010 , 33lb mirror, Atlantic Heat, same syndicate water ">
    <img border=0 src="images/dec10/back lake 33lb 016_th.JPG" alt="" align="right" /></a>



    please can anyone help?

    Derek

  2. #2
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    162
    Plugin Contributions
    0

    Default Re: Lightbox JS v2.0 problem

    I have now changed to Zen Lightbox v1.5 from the downloads section, and the images are now displaying corectly in lightbox form.

    To display correctly I had to delete the:

    rel="lightbox[gallery name]"

    commands in the EZ page html files.

    Unfortunately this means that the next, previous, gallery facility no longer works.

    Is it possible to maintain this facility without going through and renaming all the image files as described in:

    https://www.zen-cart.com/tutorials/index.php?article=58

    I've got up to a thousand image files located in 30 or so sub directories

    thanks

    Derek

  3. #3
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    162
    Plugin Contributions
    0

    Default Re: Lightbox JS v2.0 problem

    Update

    The solution is to use the lightbox download from the downloads section to display the product images in lightbox form.

    There is an option in the lightbox control in admin to switch off using this lightbox effect in EZ pages.

    Once this is switched off you can use a normal lightbox command rel"name" in the image reference to use the gallery feature i.e. next/previous etc.

    In the
    <head> section you need
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />


    <a href="images/image.jpg" rel="lightbox[Gallery]"title="suitable title"><img border=0 img src="images/image_th.jpg" width="100" height="75" alt="" /></a>

    for the image file

    along with the two js & css supporting directories

 

 

Similar Threads

  1. Lightbox problem
    By samuxul in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Sep 2011, 01:44 PM
  2. Zen Lightbox problem
    By DesDev5 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 8 Jul 2010, 07:06 AM
  3. Lightbox Problem
    By blackwolf in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Nov 2009, 08:44 PM
  4. Lightbox problem on IE
    By manton in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Dec 2008, 04:31 PM
  5. Lightbox problem
    By Goofy in forum General Questions
    Replies: 2
    Last Post: 15 Oct 2007, 11:20 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