Disable Lazy Load
-
The changelog says:
1.0.9: Allow opting out of lazy load with “data-no-lazyload” attribute (Thanx wheresrhys)
Can you provide an example of this?
When I tried adding this attribute to an img tag, the img still lazy loads. There’s a conflict with this plugin and MagicZoom Plus and I need to disable lazy loading on one page.
<img src="https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-500x324.jpg" class="img-responsive no-lazy wp-post-image" alt="Winter Homestead" data-no-lazyload="1" srcset="https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-500x324.jpg 500w, https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-525x340.jpg 525w, https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-220x142.jpg 220w, https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-260x168.jpg 260w, https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-225x145.jpg 225w, https://local.marcusashley2016.com/wp-content/uploads/2013/05/Winter_homestead_30x46-1-e1415565187671.jpg 1000w" sizes="(max-width: 500px) 100vw, 500px" style="max-width: 500px; max-height: 325px;">
Any ideas?
Thanks!
- The topic ‘Disable Lazy Load’ is closed to new replies.