Plugin displays random image from attached images to page or post.
As of April 2026, FX random image is a WordPress images plugin with 10 active installations and a 3.7/5 rating from 3 reviews. It has been downloaded 3.9K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2011. Last updated 14 years ago — may have compatibility concerns. Top alternative: Autoptimize.
Plugin creates widget that displays one random image from current page or post attached images, or from any page or post set by ID. You can set size of image to display.
Displays a random image from post or page you specify. Plugin creates FX-Random-image widget. Use widget to add image to sidebar or add <?php FX_Random_Image($pageID, $link, $size); ?> function to theme. $pageID is page/post ID from there to take images, if $link = true adds link to image, $link = false no link on image, $size – image size (‘thumbnail’, ‘medium’ or ‘large’). Example <?php FX_Random_Image(1, false, 'large'); ?>
| WordPress | 2.8+ requiredTested up to 3.0.5 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.