- This topic has 13 replies, 7 voices, and was last updated 4 years, 10 months ago by David.
-
AuthorPosts
-
October 31, 2017 at 7:52 am #413660Borja
Hello,
I’ve been trying to use a Lazy load plugin as lazy load, a3 lazy load and lazy load by rocket. But none of them have worked in my theme and I’m struggling why it can be.
is there any lazy load plugin that actually works?
my website: http://www.az-carreras.com
October 31, 2017 at 11:57 am #413809LeoStaffCustomer SupportHi there,
What exactly isn’t working? Are you getting any errors?
November 1, 2017 at 11:01 am #414410BorjaI’m not getting any error, basically it is that it doesn’t work, doesn’t do the lazy load when I activate the plugin.
November 1, 2017 at 5:58 pm #414575LeoStaffCustomer SupportDoes it work normally with a twenty-series theme?
Have you checked with the plugin authors?
November 18, 2017 at 3:39 am #427350RomanHi Borja, Leo,
unfortunately this is an old problem which has not been fixed until today:
I have just updated to the latest GP version to find out that neither infinity scroll nor load more button works together with lazy load plugins.
November 18, 2017 at 9:41 am #427601TomLead DeveloperLead DeveloperIf any of these lazy load plugins have a JS hook/trigger we can hook into, we can tell masonry to adjust the layout once they load.
Basically the masonry script needs to adjust CSS positioning once the images load. Masonry is wrapped in imagesLoaded, but I guess that’s not compatible with lazy load (that would be ideal).
November 18, 2017 at 9:43 am #427603RomanTherefore, what shall we do to get it work?
November 18, 2017 at 9:53 am #427612TomLead DeveloperLead DeveloperI’ll have to do some testing. If you’d like to help you can ask the developer of whatever plugin you’re using if there’s a trigger we can use to re-layout masonry once images are loaded.
November 18, 2017 at 10:04 am #427621RomanOK, I will ask authors of a3 Lazy Load plugin and I will let you know.
November 18, 2017 at 10:47 am #427642TomLead DeveloperLead DeveloperThanks!
August 6, 2019 at 2:41 am #976840sprylabHi Tom, Roman,
I just found this thread as I am trying to add lazy loading to my generatepress site.
This plugin https://wordpress.org/plugins/lazy-loading-responsive-images/ looks very well done and has an option to include lazysizes aspectratio plugin. This plugin calculates the needed space for images before they are loaded. That avoids content jumping when the images are loaded and makes the lazy loading work with masonry grids.
This should fix the problem or am I mistaken?
Thanks
StephanAugust 6, 2019 at 4:24 am #976913DavidStaffCustomer SupportThat plugin looks interesting, thanks for sharing.
There are two issues with some lazyloaders one being the sizing of the placeholder the other is they may only work on images that are present on initial load, not ajax loaded. Maybe worth testingNovember 18, 2019 at 5:35 pm #1066993Amit NairWas reviewing these threads before installing a lazy loading plugin. Is there any latest update? Any specific recommendation for a lazy load plugin?
November 19, 2019 at 6:49 am #1067484DavidStaffCustomer Supportthe one that sprylab pointed out looks pretty good and the plugin author is active in support which is a good sign.
-
AuthorPosts
- You must be logged in to reply to this topic.