NewThe Supreme Bundle: every Divi Supreme plugin, 31% less than buying separately.See what’s inside →

Random Image module

Divi Random Image that keeps the page fresh.

Choose a set of images and show a different one each time the page loads. Great for hero photos, testimonials and banners.

What is the Divi Random Image module?

Random Image is a Divi 5 module in Divi Supreme Pro that picks one image at random from a gallery each time the page loads. Returning visitors see something new, and you can rotate seasonal photos or banners without editing the page.

Choose the images and their size, link the image to a URL in the same or a new tab, or open it in a lightbox at a larger size. Add a colour overlay with an icon, always on or on hover.

random pick per load

∞

images in the pool

click actions

custom code

Start from a Random Image recipe.

The recipes and the playground run on the front end. Use Preview, or open the page, to try them.

Try every Random Image setting.

The recipes and the playground run on the front end. Use Preview, or open the page, to try them.

Everything Random Image can do.

Random on every load

One image from your pool, picked fresh on each page view.

Any number of images

Add as many as you like from the media library.

Image size

Choose the WordPress image size to keep pages fast.

Link it

Send the image to a URL, in the same or a new tab.

Lightbox

Open the image larger in a lightbox, at its own size.

Hover overlay

Colour overlay with an icon, always or on hover.

Random Image documentation

Setup for Divi 5: images, image size, link or lightbox, and overlay.

Questions about Random Image.

How does Random Image choose?

Each time the page loads, it picks one image at random from the images you added.

Will caching stop it from changing?

The pick happens in the browser, so it still changes on cached pages.

How many images can I add?

As many as you like. Add them from the media library in the Images field.

Can the image link somewhere?

Yes. Turn on Use Image Link URL and set the target. Or turn on Open in Lightbox to show it larger.

Can I add an overlay?

Turn on Image Overlay, choose the colour and icon, and show it always or on hover.

Where is it useful?

Hero photos, seasonal banners, customer photos, product shots and anywhere a bit of variety keeps the page interesting.

Does Random Image work with Divi 5?

Yes. It is a native Divi 5 module with standard Divi sizing, borders and filters.

Next module, A to Z

Read More Module

Related modules

Image Carousel Module

Carousels and slideshows.

Masonry Gallery Module

Pinterest-style image grids.

Block Reveal Image Module

A colour block wipes the image in.

4.9 out of 5

Rated 4.9 by Divi designers on Trustpilot. Running on 350,000+ sites.

Give returning visitors something new.

Random Image comes with 70+ Divi 5 modules and 16 extensions in Divi Supreme Pro.

Divi Supreme