Place random-image.php in your blog's plugin subdirectory (e.g., /wp-content/plugins/).
Create a new subdirectory to hold your images (random-image is the recommended name for this directory).
Activate the plugin from the Plugins tab of your blog's administrative panel.
Go to the Widgets page from the Presentation tab.
Click the 'Add' link on the widget to add the widget to the appropriate sidebar.
Click the 'Edit' link on the widget's placeholder to open the settings form.
Use the form to adjust any of the visual settings to fit your theme and preferences and save the sidebar settings. Be sure the directory points to the folder you are using to store your images. If you don't want the plugin to display in the sidebar, uncheck the "Show widget in sidebar" option (you can still use the widget to display images in posts or elsewhere in your page.)
Click the 'Save' button on the settings form.
Click the 'Save Changes' at the bottom of the Current Widgets section. You should be able to see the sidebar on your front page.
If you would like to have multiple copies of the widget on your blog, simply click the 'Add' button again. At this time, you can only use one copy of the widget active if you use it outside of the sidebar.
To display in a post or page, add a line in your post that says (randomimage).
To display elsewhere in a page, you can call the display function in the appropriate php file of your theme using the function echo_random_image().
Requires: 2.5 or higher Compatible up to: 2.7 Last Updated: 2009-1-3 Active Installs: