WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by David G v00.08

Random Gallery

Random Gallery displays a different subset of your images every time your page is refreshed.

Random Gallery

The facts

Rating
4.5★ from 11
Active installs
200+
Price
Free
Last updated
2 Apr 2023
Added
Mar 2015
Requires WP
3.0.1
Tested up to
WP 6.2.11
Downloads
7,166

Our analysis

AI-assisted

Random Gallery is a WordPress plugin that allows you to display a random selection of images from a specified pool each time the page is refreshed. You can choose images either by their IDs or by category, and specify how many images to show at once.

The plugin uses shortcodes for configuration, making it suitable for users familiar with this method. It is designed for those who want to add variability to their image displays without needing extensive coding knowledge.

Best for: This plugin suits users who want to enhance their photo galleries with randomised displays.

What it does well

  • Free to use from the WordPress.org directory
  • Allows random selection of images on page refresh
  • Supports both IDs and category methods for image selection
  • Can handle standard Gallery shortcode parameters
  • Active installation count of 200

Where it falls short

  • Limited documentation provided
  • Requires familiarity with shortcodes
  • Data is missing on specific features and customisation options

Verdict

Random Gallery offers a straightforward way to display images randomly, but may require some technical knowledge to set up effectively.

From the developer

David G's own description of Random Gallery, lightly tidied.

Random Gallery lets you display a different subset of your images every time your page is refreshed. Just tell it which ones you want it to pick from and how many you want to show at a time.

The Basics

Random Gallery works with an old fashioned shortcode. You specify the pool of images with the ids or category parameter. Then you specify how many you want to show with the shownum parameter.

Here’s an example of the ids method:

[random-gallery ids='101,102,103,104,105' shownum='3']

Note there are five images in the list but only three will be shown at a time.

And here is an example of the category method:

[random-gallery category='myCategory' shownum='3']

Random Gallery can handle the ordinary Gallery shortcode parameters columns, size, and link:

[random-gallery category='myCategory' shownum='3' columns='1' size='medium' link='none']

You can put shortcodes in all kinds of blocks, but it’s best to use the shortcode widget.

ids method details

The ids parameter is the list of images you want to draw from. To build up the list, you need the numbers that WordPress assigns to each of your images.

There are plugins that let you see these numbers directly in the Media Library. Try searching the plugins directory for “reveal ids”.

Otherwise, you can find them manually:

  • open up your Media Library
  • click on a photo
  • the Attachment Details will pop up
  • the URL in your address bar will look like this: https://www.example.com/wp-admin/upload.php?item=101
  • take the number at the end of the URL (in this case 101) and add that number to ids
  • repeat this process for each photo you want to include

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for photo galleries.

Smart Slider 3

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider...

Free 800k+ installs 4.9★ (1,123)
Gallery

Gallery

91

FooGallery is a fast, responsive photo gallery and image gallery plugin with 7 gallery layouts, built-in light...

Free 100k+ installs 4.8★ (986)
Firelight Lightbox

Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and responsive. Opens images...

Free 200k+ installs 4.8★ (355)
Feeds for YouTube

The Feeds for YouTube plugin allows you to display customizable YouTube feeds from any YouTube channel.

Free 100k+ installs 4.9★ (200)