Page 2 of 26 FirstFirst 123412 ... LastLast
Results 11 to 20 of 258
  1. #11
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by gsdcypher View Post
    you can see jquery lightbox in action here:
    http://tiny.cc/VMMxN

    thanks.
    Okie, here goes: you can view your page html source code: the first lightbox image is the main image

    Code:
    document.write('<a href="images/bitetug_suit_dfl5.jpg" id="jqzoomMain" class="jqlightbox"><img src="bmz_cache/a/aff35fee3d4330cbbd98c7330c7e7f44.image.220x96.jpg" alt="Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle" title=" Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle " width="220" height="96" /></a>');
    The second one is here:

    Code:
    <div id="productReviewsDefaultProductImage" style="display:none;" class="centeredContent back"> 
    <div id="productMainImageReview" style="display:none;" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/bitetug_suit_dfl5.jpg" id="jqzoomMain" class="jqlightbox"><img src="bmz_cache/a/aff35fee3d4330cbbd98c7330c7e7f44.image.220x96.jpg" alt="Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle [DFL5]" title=" Two Bite Suit Tugs (4\&quot; x 8\&quot;) 1 Handle [DFL5] " width="220" height="96" /></a>');
    //--></script>
    <noscript>
    <a href="http://www.allk-9.com/index.php?main_page=popup_image&amp;pID=608" target="_blank"><img src="bmz_cache/a/aff35fee3d4330cbbd98c7330c7e7f44.image.220x96.jpg" alt="Two Bite Suit Tugs (4&quot; x 8&quot;) 1 Handle [DFL5]" title=" Two Bite Suit Tugs (4&quot; x 8&quot;) 1 Handle [DFL5] " width="220" height="96" /><br /><span class="imgLink">larger image</span></a></noscript>
    
    
    </div></div>
    I guess this is created by the products tab module.

    I will look into this, but more than likely we will have to somehow turn off the display of an additional main image code here.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #12
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    yes i would like to remove the duplicate image display...

    also, i tried adding
    Code:
    . '</div><br class="clearBoth" /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    to the end of
    Code:
    document.write('<a href="<?= $products_image_large;?>" id="jqzoomMain"<?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?>><?= zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);?></a>');
    to get the text click for larger image to display under the main image. but no joy...

    thanks.

  3. #13
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    hey yellow1912,

    do you know how to add click for larger image under the main image?

    also how to make it so the images in the lightbox are not downloadable/saveable?

    thanks.

  4. #14
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Jquery Lightbox [Support thread]

    Yellow1912 thank you for another great Module, or modules may I say.
    gsdcypher is on to something. You know how people are in this todays world, you have to spell out every little detail or they want know were to click on the image. Thank you again my friend.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  5. #15
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Jquery Lightbox [Support thread]

    It is rather easy to do so, you can edit includes/templates/your_template/tpl_modules_main_product_image.php

    Around line 15 you will find

    PHP Code:
    document.write('<a href="<?= $products_image_large;?>" id="jqzoomMain"<?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?>><?= zen_image($products_image_mediumaddslashes($products_name), MEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT);?></a>');
    Replace by

    PHP Code:
    document.write('<a href="<?php echo $products_image_large;?>" id="jqzoomMain"<?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?>><?php echo zen_image($products_image_mediumaddslashes($products_name), MEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT);?><br /><span class="imgLink"><?php echo TEXT_CLICK_TO_ENLARGE;?></span></a>');
    As for the request to prevent downloading image, it is technically impossible. So your best option is to watermark your images.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #16
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    hi yellow1912,

    i changed the code, but the text click to enlarge still doesn't show...

    did you get it to work countrycharm?

    i have ih2 installed and it used to watermark my images until i installed jquery lightbox. is there a way to make them work together?

    thanks.

  7. #17
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Jquery Lightbox [Support thread]

    Yes, you can make them work together, I believe. The problem with IH2 is that it has a bug which prevents zen_image function from accepting parameters. I believe I fixed that bug but I will recheck.

    As for the text to click, make sure you did not change the definition of TEXT_CLICK_TO_ENLARGE in your language file to empty. A Link to your site will help.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  8. #18
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Jquery Lightbox [Support thread]

    yes if you can recheck that would be great. it would be nice if they worked together.

    here is a link: http://www.allk-9.com/


  9. #19
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Jquery Lightbox [Support thread]

    Quote Originally Posted by gsdcypher View Post
    yes if you can recheck that would be great. it would be nice if they worked together.

    here is a link: http://www.allk-9.com/

    For the text click .... you probably have not replaced the file, or replaced the wrong one. In your case, the file must be in
    includes/templates/allk9/templates
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  10. #20
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Jquery Lightbox [Support thread]

    No I did not get it to work as of yet. It will show when you go to the page but it disappears soon after.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 
Page 2 of 26 FirstFirst 123412 ... LastLast

Similar Threads

  1. v153 jQuery Scrolling Sideboxes [Support Thread]
    By lat9 in forum Addon Sideboxes
    Replies: 79
    Last Post: 15 Apr 2024, 10:20 PM
  2. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3720
    Last Post: 6 Oct 2022, 11:18 PM
  3. v152 Down for Maintenance jQuery Countdown (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Nov 2015, 03:04 PM
  4. v152 jQuery Banners (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 30 Sep 2015, 02:07 AM
  5. Jquery Zoom [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 384
    Last Post: 11 Dec 2013, 02:41 AM

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