Forums › Forums › Search & Filter Pro › Lazy load
Tagged: lazy load
- This topic has 10 replies, 4 voices, and was last updated 8 years, 1 month ago by Ross.
-
Anonymous(Private) November 16, 2016 at 10:11 am #70475
Hi,
I don’t understand how works Lazy Load JavaScript and I can’t find any documentation.
I checked the option in Search & Filter Settings but it’s not working and I don’t know witch is right code for the post thumbnail image to apply the la Lazy Load.Thanks,
Sergi.Ross Moderator(Private) December 8, 2016 at 9:08 am #75048Hi there,
Lazy load Javascript is not the same as Lazy load images…
You should still use another plugin to lazy load your images as per all your other WP pages.
Lazy load JS just means we add the
search-filter-build.js
(which is required for all S&F functionality) only on the page which contains S&F forms (rather than every page on your site, even when not required, like so many other plugins do)…I’m guessing you were hoping this lazy loads images, is this correct?
Thanks
Anonymous(Private) December 8, 2016 at 9:15 am #75050Hey @Ross,
thanks for getting back to me.I was quite confused as for what the Lazy Load JS ticker is for, or what role it has in implementing the lazy load in general. And the “coming soon” under the Infinite Scroll page in the plugin’s documentation didn’t help at all 🙂
So as I understand, the lazy loading should work if I use a separate plugin? Any particular recommendation for one that works well with Search & Filter, or should any work? Thank you!
Ross Moderator(Private) December 8, 2016 at 11:26 am #75069Hi again,
In regards to the lazy load, S&F (without ajax enabled) should work with any lazy load plugin that works with WP (untested, but I can’t see why not).
If ajax is enabled, I’m not sure if they will work, I can potentially see some issues… however.. if you use infinite scroll, this negates (pretty much) the need for lazy load…
If you have the plugin with infinite scroll, then you are using our dev version, which means the release has not yet happened and the docs are not yet ready…
I believe there is a thread (I guess you were on it) with users infinite scroll functionality and Trevor sent you this dev version? If so, feel free to ask on that thread any questions regarding setup, and I will talk you through it (to help the other users’ also) 🙂
Best
Anonymous(Private) December 8, 2016 at 1:16 pm #75108Hello @Ross,
I was referring to this page in your documentation: https://www.designsandcode.com/documentation/search-filter-pro/search-results/infinite-scroll/ -
AuthorPosts