Title: FX random image
Author: AivarasFX
Published: <strong>May 20, 2011</strong>
Last modified: May 20, 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/fx-random-image.svg)

# FX random image

 By [AivarasFX](https://profiles.wordpress.org/aivarasfx/)

[Download](https://downloads.wordpress.org/plugin/fx-random-image.1.0.2.zip)

 * [Details](https://test.wordpress.org/plugins/fx-random-image/#description)
 * [Reviews](https://test.wordpress.org/plugins/fx-random-image/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/fx-random-image/#installation)
 * [Development](https://test.wordpress.org/plugins/fx-random-image/#developers)

 [Support](https://wordpress.org/support/plugin/fx-random-image/)

## Description

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'); ?>`

## Installation

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use Widget to add image to widget area or place `<?php FX_random_image(); ?>` code
    in your templates

## FAQ

  How to use it?

Use Widget to add to sidebar and set pageID in widget.

Or place `<?php FX_random_image($pageID, $link, $size); ?>` code in your templates

$pageID – page/post ID from there to take images
 $link – 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'); ?>`

## Reviews

![](https://secure.gravatar.com/avatar/e3f70cfb4490b7adefece06ff05fe299053f99cc77a3f1deddd9c4644752222b?
s=60&d=retro&r=g)

### 󠀁[Crashed my site in 2023](https://wordpress.org/support/topic/crashed-my-site-in-2023/)󠁿

 [Jeffrey Whitmore](https://profiles.wordpress.org/machinelf/) August 28, 2023

Sad

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/fx-random-image/reviews/)

## Contributors & Developers

“FX random image” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ AivarasFX ](https://profiles.wordpress.org/aivarasfx/)

[Translate “FX random image” into your language.](https://translate.wordpress.org/projects/wp-plugins/fx-random-image)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/fx-random-image/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/fx-random-image/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/fx-random-image/)
by [RSS](https://plugins.trac.wordpress.org/log/fx-random-image/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Fixed some description.

#### 1.0.0

 * New versions started.

## Meta

 *  Version **1.0.2**
 *  Last updated **15 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/fx-random-image/)
 * Tags
 * [images](https://test.wordpress.org/plugins/tags/images/)[random](https://test.wordpress.org/plugins/tags/random/)
 *  [Advanced View](https://test.wordpress.org/plugins/fx-random-image/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fx-random-image/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/fx-random-image/reviews/)

## Contributors

 *   [ AivarasFX ](https://profiles.wordpress.org/aivarasfx/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/fx-random-image/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U4ABQ5TFC8UHQ)