The [random_images] shortcode displays random attached images.
As of April 2026, Random Images is a WordPress images plugin with 30 active installations and a 2.5/5 rating from 6 reviews. It has been downloaded 5.1K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2013. Last updated 7 years ago — may have compatibility concerns. Top alternative: Autoptimize.
The [random_images] shortcode will display an unstyled set of random images.
Six images will display at thumbnail size linked to attachment pages by default.
To change the number of images and the size:
[random_images total=4 size=medium]
To make the links point to image files instead of attachment pages:
[random_images link=file]
If you have any questions, please ask in the support forum.
| WordPress | 2.8+ requiredTested up to 5.0.25 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.