• Your site says the plugin supports native lazy loading. On your demo site I see loading=”lazy” in some of the image attributes, and I can see images lazy loading by following the page load in the Network tab while I scroll down a page.

    However, I cannot see this working on my site. When I load the page and watch the Network tab in the inspector, I can see all images from the gallery being loaded on page load. I created a test gallery with 30 images, so there are many images below the fold that should be lazy-loaded if such a feature were working. Instead, all 30 images load on page load before scrolling. Even if I place the entire gallery block below the fold, all images load immediately on page load.

    Is this feature broken on my site, or does it just not exist yet?

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    Thread Starter whistlerdan

    (@whistlerdan)

    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.

    Thread Starter whistlerdan

    (@whistlerdan)

    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.

    Istiak Rayhan

    (@istiakrayhan)

    @whistlerdan We have added ‘Image Lazy Load’ option in the latest version (1.1.0) of Galleryberg.

    Thread Starter whistlerdan

    (@whistlerdan)

    Thanks for the update! I will check it out.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.