• I am running Lazy Load on a site and WHEN Lazy Load is activated: no images ever appear unless…

    I also run the below code snippet which deregisters native JQuery & registers a locally hosted copy of JQuery. When this code snippet is activated. Lazy Load functions perfectly.

    if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
    function my_jquery_enqueue() {
       wp_deregister_script('jquery');
       wp_register_script('jquery', "wp-content/external/jqueryLocal.js", false, null);
       wp_enqueue_script('jquery');
    }
    
    I've lived with this solution for a while now, but my snippet is causing a difficult to diagnose conflict with a woocommerce extension and I just don't feel I have the time or energy to deep dive into that issue. 
    
    Resolving the conflict of native JQuery & Lazy Load seems like the simpler problem to tackle.
    
    Is there a reason Lazy Load would keep all images hidden unless the above snippet were activated?
    
    
  • The topic ‘Lazy loaded images do not load at all UNLESS I dequeue JQuery.’ is closed to new replies.