WP Rocket
Forum Replies Created
-
Hi,
I visited the page and didn’t notice any issue on it, do you still need help?
Hi,
It seems you don’t have this plugin anymore on your pages, do you still need help?
Hi,
This snippet will load an additional script that will act as a polyfill for IntersectionObserver on browsers that don’t have support for it.
Hi,
1) The
data-no-lazy="1"attribute is not set in WordPress, you need to add it manually to your images. If you can’t do that, you will need to exclude them with the filters.2) Here is an example of how to use the filter, you will need to change the value based on your case:
add_filter( 'rocket_lazyload_excluded_attributes', function( $excluded ) { $excluded[] = 'excluded-pattern'; return $excluded; } );Hi,
Unfortunately this is not something that can be modified or configured. The images will be loaded as they come into view only.
Hi,
I had a look at the page you provided, and I can see the images being lazyloaded as expected.
Hi,
LayerSlider has always been something conflicting with lazyloading, it’s not compatible with that.
The best thing to do is to exclude the images from lazyload, it can be done with the following code:
add_filter( 'rocket_lazyload_excluded_attributes', function( $excluded ) { $excluded[] = 'ls-layer'; return $excluded; } );Hi,
What is the JS error you’re getting?
Hi,
From what I can see, you also have the lazyload from Autoptimize active on your website. Having both active at the same time is not a good idea and might lead to issues.
As a start, I recommend to keep only one lazyload enabled, be it from Autoptimize or our plugin. I would also recommend to check if your theme has some kind of lazyload enabled too.
Hi,
1) There isn’t an option for that, but it could be done programmaticaly with the following code:
add_filter( 'do_rocket_lazyload', function() { if ( ! wp_is_mobile() ) { return false; } return true; } );What it does is check if the current device is a mobile device as identified by the wp_is_mobile() function, and if it isn’t, it’s preventing lazyload from being applied. If it’s a mobile device, lazyload is applied.
2) Currently it supports iframes, images and picture elements. Video elements are not yet supported.
This issue should be fixed with the 2.2.2 version of the plugin.
Ok I see, the issue will be fixed in the next version of the plugin.
Hi,
Currently I don’t see lazyload active on your page.
Make sure you’re using the latest version of the plugin. If you are and it still doesn’t display correctly, you might need to exclude the images from lazyload.
Forum: Plugins
In reply to: [LazyLoad Plugin – Lazy Load Images, Videos, and Iframes] lazy load mobileHi,
Do you have a link to the test? Without seeing your test and website it’s hard to give you hints on what’s going on.
Forum: Plugins
In reply to: [LazyLoad Plugin – Lazy Load Images, Videos, and Iframes] Breaking Gravatar?Hi,
The bug will be fixed in the next version of the plugin.