Lazy Load Images in Grid Elements after Filter

Is there any way to add the litespeed lazyloading to images within grids, where the elements are loaded via filters that use ajax / rest api. So the html is generated by the php functions of the filter and then sent back and added via js on the frontend.

i know another option would be to just have a load more button or load on scroll. But i would like to load lots of grid elements at once and as each of them have several images, i would like these then to be lazy loaded


  • This topic was modified 8 hours, 59 minutes ago by nookyyy.
  • This topic was modified 8 hours, 58 minutes ago by nookyyy.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer