Right now, Galleryberg doesn’t have its own native lazy-loading feature. WordPress itself adds loading=”lazy” to images by default, but since our gallery uses server-side rendering, this doesn’t always kick in the way it should. That’s why all images may load on page load.
We do plan to add a built-in lazy-loading option to Galleryberg, but we’re not sure about the release time yet.
In the meantime, you can use any lazy-loading plugin like Jetpack, WP Rocket, LiteSpeed Cache, Smush, or Autoptimize and they should automatically apply lazy loading to all Galleryberg images.
Why does your website say: “Fast by Default- Lazy loading keeps galleries snappy and lightweight.” If it doesn’t work, you should remove this. It’s disingenuous. Are you using an additional plugin on your site to lazy-load the demo galleries?
I usually use Perfmatters to lazy-load images, but it causes issues with Galleryberg and the lightbox and lightbox thumbnails, where many load as blank images. I already talked to the Perfmatters developer about it, and he explained why it is happening:
“Perfmatters lazy loads images by migrating the src attribute of the original image to a temporary data-src attribute and then replacing the original src URL with a blank placeholder SVG. It looks like those blank placeholders are then getting picked up and used [by Galleryberg] for the generated thumbnails in the gallery lightbox.”
Is there a way to deal with this issue? I can’t imagine that Perfmatters is the only one using this method to lazy-load images, so it might be the case that the problem is also experienced with other lazy-loading plugins.
It was a miscommunication between our dev team and design team. But yes, Lazy Load in our to-do list. We will remove the the lazy load thing from the website till it’s live.
Right now, we are not using any additional plugins for lazy loading.
I will talk with the dev team if we can do anything to fix the issue with Perfmatters.
Any word from the dev team on the Perfmatters issue? I updated to the latest version to see if anything had changed, but I still have the same lazy load issue. Thanks.
@whistlerdan We’re actually planning to bring our own Lazy Load option. I’ll keep you updated.
@whistlerdan We have added ‘Image Lazy Load’ option in the latest version (1.1.0) of Galleryberg.
Thanks for the update! I will check it out.