Hi @dinib,
I can see the images have the class “lazyloaded”, so it’s definitely working. Unfortunately, I can’t run a Pagespeed scan, as there are some issues with SSL certificates on your site. Please check this: https://www.sslshopper.com/ssl-checker.html?hostname=betaflow.de
Best regards,
Anton
Thread Starter
dinib
(@dinib)
Hey, thanks for the ssl notice ! Forgot to list a file in apache config !
Should be fixed.
Unfortunately Google tells me still to defer offscreen images.
-
This reply was modified 6 years, 6 months ago by
dinib.
-
This reply was modified 6 years, 6 months ago by
dinib.
Hi @dinib
I was able to run PageSpeed on your site and can see it still reports that. I took another look at the site itself and can also confirm that the expected class is there but I’m not quite sure about an actual behavior.
I noticed that you also have Autoptimize active on site. Could you please make sure that while Lazy Load is active in Smush, the “Lazy-load images?” option in “Settigns -> Autoptimize -> Images” is disabled?
Please also clear Autoptimize cache to make sure that JS scripts are re-generated.
Best regards,
Adam
Thread Starter
dinib
(@dinib)
Hi,
thanks for your reply.
Autoptimize -> image is disabled. The problem is also present while autoptimize disabled completely.
Yes the class is added to the images but apparently somehow it is not working.
Having the issue also with other lazy load plugins. None is working.
Could it be a permission issue ? Or an apache configuration ?
Greetings
-
This reply was modified 6 years, 6 months ago by
dinib.
-
This reply was modified 6 years, 6 months ago by
dinib.
@dinib,
I think it’s the way your page is loaded. Because all the images are near the viewport they all get auto loaded on page view.
To test out my theory, you can try the following. In the plugin file core/modules/class-lazy.php on line 180 right after window.lazySizesConfig.loadedClass = 'lazyloaded';
add
window.lazySizesConfig.expand = 100;
The default value is auto calculated and is somewhere in the range of 370-500. I recommend trying out a few options, maybe even trying out 0 to test.
Best regards,
Anton