WordPress Random Image Plugin
Displays a Random Image from the Post Attachment Gallery/ Page Attachement Gallery / Custom Media Library Items. Easy Shortcode available.
Displays a Random Image from the Post Attachment Gallery/ Page Attachement Gallery / Custom Media Library Items. Easy Implementing Shortcode is available.
WordPress Random Image
Customize according to your Need.
This WordPress Random Image Plugin could be implemented even under theme development.
- Very Easy to implement.
- Simple Shortcode Available
WordPress Random Image Documentation
WordPress Random Image By Mervin Praison
SEO Manager
Version history
Version 1.0
Version 2.0
- Added Alt Tag on to Images.
Installation
Step 1
- Download the zip file
- Extract the contents
- Upload the folder
random-image
to your WP plugin folder /wp-content/plugins/
directory - Go to Plugins > Plugins, and activate the plugin
Step 2
- Use this shortcode ‘[random-image]’ on your page/post content.
- Use this shortcode ‘[random-image attachmentids=” list of Attachment IDS “]’ on your page/post content.
- Use this shortcode ‘[random-image postid=” Enter Post ID ” ] on your page/post content.
- Add Image Alternative Text (Alt tag) on to indivitual media file at the backend (on “Media” tab).
- Code and detailed installation procedure can been seen on the following link
WordPress Random Image By Mervin Praison
Note
- Either use Attachment ID’s or Post ID as the attribute.
- On using both the attributes, Attachment ID’s will be preferred.
Screenshots

Finding Attachment ID
![Default Wordpress Gallery Option ( Images from this Gallery will get displayed Randomly on using the shortcode [random-image]](https://ps.w.org/wordpress-random-image/trunk/screenshot-2.png?rev=1567438)
Default Wordpress Gallery Option ( Images from this Gallery will get displayed Randomly on using the shortcode [random-image]
FAQ
Changelog