Title: [Plugin: jQuery Image Lazy Load WP]
Last modified: August 19, 2016

---

# [Plugin: jQuery Image Lazy Load WP]

 *  [romanczar](https://wordpress.org/support/users/romanczar/)
 * (@romanczar)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-jquery-image-lazy-load-wp/)
 * Hi,
 * seem like the lazy load plugin breaks other JQuery stuff a lot.
 * I experienced this with a manual include of ScrollTo and LocalScroll JQuery plugins.
 *     ```
       function jquery_lazy_load_headers() {
         $plugin_path = plugins_url('/', __FILE__);
         $lazy_url = $plugin_path . 'javascripts/jquery.lazyload.mini.js';
         //$jq_url = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js';
         //wp_deregister_script('jquery');
         //wp_enqueue_script('jquery', $jq_url, false, '1.4.2');
         wp_enqueue_script('jquerylazyload', $lazy_url, 'jquery', '1.5.0');
       }
       ```
   
 * I changed the code above and now it works. I include my own JS file form my server
   instead of Google’s and this seems to do the trick. but I don’t understand why?
 * When keeping the plugin as it was I always get in Firebug an error: “localscroll
   is not a function” for my other code. If I comment out the lines above, everything
   works, so my own script works. Lazy load , too. But together there is something
   strange…
 * Any JQuery guru has an idea???

The topic ‘[Plugin: jQuery Image Lazy Load WP]’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [romanczar](https://wordpress.org/support/users/romanczar/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-jquery-image-lazy-load-wp/)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
