Lazy Loading for WordPress Image Galleries

At a glance: Plan: Galleryberg Pro · Added in version 1.1.0 · Gallery-wide and per-image settings · Last checked: Galleryberg 1.2.1 (November 2026)

Lazy loading in Galleryberg Pro loads gallery images only when they scroll into view, instead of all at once when the page opens. This makes pages with large galleries load faster. Turn it on by selecting the Galleryberg Gallery block, opening Settings, and switching on Enable Lazy Loading. Until an image loads, a soft animated placeholder holds its space.

How to turn on lazy loading for a gallery #

  1. Select the Galleryberg Gallery block by clicking the Galleryberg icon in the block toolbar.
  2. In the right sidebar, open Settings.
  3. Turn on Enable Lazy Loading (“Load gallery images only when they enter the viewport”).
  4. Update the page. Lazy loading only runs on the front end, so images always show right away in the editor.

Lazy load a single image #

Each image also has its own Enable Lazy Loading toggle (“Load this image only when it enters the viewport”). Select the image inside the gallery to find it in the image settings. Use it when you only want some images, such as the ones far down a long gallery, to load lazily.

When to use lazy loading #

SituationRecommendation
Large gallery lower down the pageTurn it on. Visitors who never scroll that far never download those images.
Gallery at the very top of the page (the first thing visitors see)Leave it off for that gallery. Images in the first screen should load immediately, which helps your Largest Contentful Paint score.
Many galleries on one pageTurn it on for every gallery except the first one.
Carousel layoutWorks, but keep the first slides loading normally if the carousel is at the top of the page.

How it works #

  • Galleryberg swaps each image for a light shimmer placeholder and keeps the real image address ready.
  • When the image comes near the visible part of the screen, the real image and its responsive sizes load.
  • Alt text stays on every image, so lazy loading does not affect accessibility or image SEO.

Related docs #

Frequently asked questions #

Does Galleryberg support lazy loading? #

Yes. Galleryberg Pro adds an Enable Lazy Loading setting for the whole gallery and for individual images. Images then load only when they scroll into view.

Why do my images load immediately in the editor? #

Should I lazy load a gallery at the top of my page? #

Does lazy loading hurt image SEO? #

Updated on November 14, 2026

What are your feelings

  • Happy
  • Normal
  • Sad