Title: Setting Threshold
Last modified: August 22, 2016

---

# Setting Threshold

 *  Resolved [Onisiforos](https://wordpress.org/support/users/onisforos/)
 * (@onisforos)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/setting-threshold/)
 * Setting threshold to 200 causes image to load 200 pixels before it appears on
   viewport.
 * Is there a way to achive this with the plugin?
 * [https://wordpress.org/plugins/a3-lazy-load/](https://wordpress.org/plugins/a3-lazy-load/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [11 years ago](https://wordpress.org/support/topic/setting-threshold/#post-5803203)
 * **Hello [@onisforos](https://wordpress.org/support/users/onisforos/)**
 * We have discussed this among our dev team – we have no idea what an image px 
   threshold is? Are you using a plugin to make that? Certainly a3 lazy Load has
   no image threshold settings – because as i said we have never heard of such a
   thing? Steve
 *  [Matt12](https://wordpress.org/support/users/matt-pain/)
 * (@matt-pain)
 * [11 years ago](https://wordpress.org/support/topic/setting-threshold/#post-5803204)
 * Hi,
 * I think Onisforos meant to say if there was a way to set a treshold to load images
   x pixels before the viewport’s bottom.
    The fact that users saw (and sometimes
   waited for) the loading of images bothered me a little too. On the Github page
   of Lazyload XT I found the option to do that [https://github.com/ressio/lazy-load-xt#options](https://github.com/ressio/lazy-load-xt#options).
   Place the code below in your theme’s js file :
 *     ```
       $.extend($.lazyLoadXT, {
         edgeY:  200
       });
       ```
   
 * In this example the images will load 200 pixels before the viewport’s bottom.
   Change ‘200’ by whatever value you want.
 * BTW thanx for the plugin, I implemented it on 2 sites and works great so far 
   🙂
 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [11 years ago](https://wordpress.org/support/topic/setting-threshold/#post-5803205)
 * **Hi Matt and Onisforos**
 * Thanks for the detailed explanation and the Git link. Today we built it into 
   the a3 Lazy Load plugin and tested it. Very nice feature!
 * We have fully tested it on our own sites and it worked great so we have released
   it as a Feature Upgrade. This is the changelog
 * **= 1.3.0 – 2015/06/05 =**
    * _Feature – Added Image Load Threshold with set 
   threshold pixel dynamic setting. Default is 0px_ * _Credit – Thanks to Onisforos
   and Matt Pain for suggesting and explaining the new Threshold feature_
 * After you upgrade go to the a3 Lazy Load dashboard and scroll to the bottom. 
   You will see there that we have added dynamic px setting for it.
 * Please give it a test on your sites and let me know if it works OK for you.
 * Thank you – Steve
 *  [Matt12](https://wordpress.org/support/users/matt-pain/)
 * (@matt-pain)
 * [11 years ago](https://wordpress.org/support/topic/setting-threshold/#post-5803206)
 * Hi Steve,
 * I removed my custom code and tested the upgraded version on my site, it works
   perfectly. Thanks for quickly implementing this option 🙂
 *  Thread Starter [Onisiforos](https://wordpress.org/support/users/onisforos/)
 * (@onisforos)
 * [11 years ago](https://wordpress.org/support/topic/setting-threshold/#post-5803207)
 * Good Job guys.
 * This is a much needed feature as many users get confused by the missing images.
 * Used to change it in the js code of your plugin.
 * Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Setting Threshold’ is closed to new replies.

 * ![](https://ps.w.org/a3-lazy-load/assets/icon.svg?rev=1049979)
 * [a3 Lazy Load](https://wordpress.org/plugins/a3-lazy-load/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/a3-lazy-load/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/a3-lazy-load/)
 * [Active Topics](https://wordpress.org/support/plugin/a3-lazy-load/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/a3-lazy-load/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/a3-lazy-load/reviews/)

## Tags

 * [threshold](https://wordpress.org/support/topic-tag/threshold/)

 * 5 replies
 * 3 participants
 * Last reply from: [Onisiforos](https://wordpress.org/support/users/onisforos/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/setting-threshold/#post-5803207)
 * Status: resolved