Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    108
    Plugin Contributions
    0

    Default Exclude product Image from lightbox when i click on it...

    I have lightbox for zen cart and found where to set the Include Main Image in Gallery but how do i exclude the top product image when i click on it. I only want to the other pics to show up _1.jpg and _2.jpg

  2. #2
    Join Date
    Feb 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: Exclude product Image from lightbox when i click on it...

    Here is the code i used to have for the images

    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($rs_products_image_large, addslashes($products_name), 300, 300) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    document.write('<?php echo '<a href="' . zen_lightbox($rs_products_image_large_1, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '" style="display: none;">' . zen_image($rs_products_image_large, addslashes($products_name), 300, 300) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>

    on 1.3.8a

  3. #3
    Join Date
    Feb 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: Exclude product Image from lightbox when i click on it...

    Here is the code on the main_product_image.php

    $rs_products_image_large=str_replace('images/','images/1_',$products_image_large);
    $rs_products_image_large_1=str_replace('.','_1.',$products_image_large);

    I tried to change both but did'nt work should i change something in the database or?

  4. #4
    Join Date
    Feb 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: Exclude product Image from lightbox when i click on it...

    Anyone know how to fix this?

 

 

Similar Threads

  1. Replies: 3
    Last Post: 28 Aug 2012, 07:31 AM
  2. How do I exclude my Donations product from getting 10% discount from Membership?
    By GeekFamily in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Jun 2011, 03:37 PM
  3. Lightbox displaying thumbnails when larger image clicked
    By tini1709 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Nov 2010, 05:04 PM
  4. Strange total when I exclude tax from discount.
    By gandalf in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 3 Apr 2009, 11:11 AM

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