Christmas Sale

30% off HappyDivi plugins

Gallery, Form Pro and Liven, until December 31.

Lazy Loading and Speed

Choose a loading placeholder, and keep a large gallery fast, especially at the top of a page.

Updated · HappyDivi Gallery 1.0.23

HappyDivi Gallery lazy loading keeps a long gallery light on first load.

With lazy loading on, an image downloads only when it is about to scroll into view. A long gallery then loads far less up front.

Choose a Placeholder#

Open Content → Lazy Loading. Lazy Load Images turns it on or off, and Loading Placeholder sets what shows while an image loads.

PlaceholderWhat the visitor sees
Blur-UpA tiny blurred preview that sharpens
SkeletonA pulsing grey box
NoneNothing until the image has loaded
Lazy Loading settings in the Divi Visual Builder beside a gallery with a category filter bar

The Lazy Loading settings.

Gallery at the top of the page?

Turn lazy loading off for it. The first images a visitor sees should load straight away, because waiting for them delays your Largest Contentful Paint score.

Keep It Fast#

  • Use Image Size Large, not Full Size, unless the cells are really that big.
  • Add pagination to a long gallery.
  • Keep Number of Items to what the page needs.
  • If a caching plugin combines scripts, exclude Divi's scripts from that setting.