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

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# FX random image

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

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

 * [Detalls](https://ca.wordpress.org/plugins/fx-random-image/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/fx-random-image/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/fx-random-image/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/fx-random-image/#developers)

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

## Descripció

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

## Instal·lació

 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

## PMF

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

## Ressenyes

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

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

 [Jeffrey S. Whitmore](https://profiles.wordpress.org/machinelf/) 28 de agost de
2023

Sad

 [ Llegiu totes les 3 ressenyes ](https://wordpress.org/support/plugin/fx-random-image/reviews/)

## Col·laboradors i desenvolupadors

«FX random image» és programari de codi obert. La següent gent ha col·laborat en
aquesta extensió.

Col·laboradors

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

[Traduïu «FX random image» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/fx-random-image)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/fx-random-image/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/fx-random-image/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/fx-random-image/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/fx-random-image/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.1

 * Fixed some description.

#### 1.0.0

 * New versions started.

## Meta

 *  Versió **1.0.2**
 *  Darrera actualització **fa 15 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 2.8 o posterior **
 *  Provada fins a **3.0.5**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/fx-random-image/)
 * Etiquetes
 * [images](https://ca.wordpress.org/plugins/tags/images/)[random](https://ca.wordpress.org/plugins/tags/random/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/fx-random-image/advanced/)

## Valoracions

 3.7 sobre 5 estrelles.

 *  [  2 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=2)
 *  [  1 valoració de 1 estrelles     ](https://wordpress.org/support/plugin/fx-random-image/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/fx-random-image/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/fx-random-image/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U4ABQ5TFC8UHQ)