Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2015
    Posts
    289
    Plugin Contributions
    0

    Default lazy load - question

    I am using zc_lazy loader for my website. Works great when scrolling down....
    https://github.com/wiztechinc/zc-lazy-loader

    I am trying to install lazy load on a carousel I created using this script. The lazy works on the first initial images but if I slide to the right none of the lazy load images appear it just keeps spinning.

    Is there something I am missing here? Is this script not compatible with using a carousel?
    Or is there a trigger I am missing in the script.

    If someone could assist me or lead me in the right direction, I would appreciate it.

  2. #2
    Join Date
    Jan 2015
    Posts
    289
    Plugin Contributions
    0

    Default Re: lazy load - question

    just some more information I am using Owl Carousel2.

    https://owlcarousel2.github.io/OwlCarousel2/

  3. #3
    Join Date
    Jul 2012
    Posts
    16,177
    Plugin Contributions
    17

    Default Re: lazy load - question

    Quote Originally Posted by chadlly2003 View Post
    I am using zc_lazy loader for my website. Works great when scrolling down....
    https://github.com/wiztechinc/zc-lazy-loader

    I am trying to install lazy load on a carousel I created using this script. The lazy works on the first initial images but if I slide to the right none of the lazy load images appear it just keeps spinning.

    Is there something I am missing here? Is this script not compatible with using a carousel?
    Or is there a trigger I am missing in the script.

    If someone could assist me or lead me in the right direction, I would appreciate it.
    Not guaranteed that it is/would be addressed, but seeing as using wiztechnic's version, might be more appropriate to post in that forum thread as identified in the plugin's download area, otherwise possibly posting in the issues area of that github repo: Lazy Loader - jQuery Product Image Loader - Zen Cart Plugins (zen-cart.com)

    When I searched the plugins area, I also found a "more recent" plugin that contained the word "Lazy" in it. Not saying that the github code isn't up-to-date for a more recent version. The software may not include all that is expected to support publishing to the Zen Cart site or there may be other reasons that it is not posted there.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,365
    Plugin Contributions
    15

    Default Re: lazy load - question

    Quote Originally Posted by chadlly2003 View Post
    I am using zc_lazy loader for my website. Works great when scrolling down....
    https://github.com/wiztechinc/zc-lazy-loader
    Quote Originally Posted by chadlly2003 View Post
    just some more information I am using Owl Carousel2.

    https://owlcarousel2.github.io/OwlCarousel2/
    I'm aware I'm not very helpful with this, but let me just point out that you're using a Lazy Load plugin that hasn't been updated for 7+ years and is based on jQuery 1.11.1 and you are trying to combine it with OwlCarousel that's been abandoned for 4+ years...

    Anyway, OwlCarousel has it's own lazyload option so you might be better off looking into your OwlCarousel options, no need to combine it yourself...
    Zen Cart Point of Sale? Sure: ZX POS - v2 released
    My site - Pro ZC Help | My portfolio | My plugins

  5. #5
    Join Date
    Jan 2015
    Posts
    289
    Plugin Contributions
    0

    Default Re: lazy load - question

    Quote Originally Posted by balihr View Post
    I'm aware I'm not very helpful with this, but let me just point out that you're using a Lazy Load plugin that hasn't been updated for 7+ years and is based on jQuery 1.11.1 and you are trying to combine it with OwlCarousel that's been abandoned for 4+ years...

    Anyway, OwlCarousel has it's own lazyload option so you might be better off looking into your OwlCarousel options, no need to combine it yourself...

    I tried the OWL Carousel option using lazy load but zencart does not seem to like it. Does anyone else have another suggestion.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,827
    Plugin Contributions
    80

    Default Re: lazy load - question

    Quote Originally Posted by chadlly2003 View Post
    I tried the OWL Carousel option using lazy load but zencart does not seem to like it. Does anyone else have another suggestion.
    There's now a load=lazy option (https://www.w3schools.com/tags/att_img_loading.asp) that can be applied to <img> tags; works for all modern browsers except for Safari.

 

 

Similar Threads

  1. v156 Inifinite scroll and lazy load
    By chadlly2003 in forum General Questions
    Replies: 2
    Last Post: 19 May 2020, 06:20 PM
  2. Jquery Lazy load plugin
    By Dan123 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 29 Jun 2014, 06:33 PM
  3. Server load question
    By zackf in forum General Questions
    Replies: 1
    Last Post: 11 Jun 2007, 02:16 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