Title: Image Roulette &#8211; Random Image Block
Author: Mark Westguard
Published: <strong>18. октобар 2025.</strong>
Last modified: 22. октобар 2025.

---

Претражи додатке

![](https://ps.w.org/image-roulette/assets/banner-772x250.jpg?rev=3380658)

![](https://ps.w.org/image-roulette/assets/icon-256x256.jpg?rev=3380658)

# Image Roulette – Random Image Block

 [Mark Westguard](https://profiles.wordpress.org/westguard/)

[Преузимање](https://downloads.wordpress.org/plugin/image-roulette.1.0.0.zip)

[Live Preview](https://sr.wordpress.org/plugins/image-roulette/?preview=1)

 * [Детаљи](https://sr.wordpress.org/plugins/image-roulette/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/image-roulette/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/image-roulette/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/image-roulette/#developers)

 [Подршка](https://wordpress.org/support/plugin/image-roulette/)

## Опис

Image Roulette is a plugin that allows you to create galleries from your Media Library
and display a random image from those galleries using either shortcodes or Gutenberg
blocks. Perfect for displaying rotating testimonials, featured products, random 
artwork, or any content where you want to show variety.

#### Features

 * **Create Custom Galleries**: Organize your Media Library images into custom galleries
 * **Random Image Display**: Show a different image each time the page loads
 * **Gutenberg Block Support**: Native block editor integration
 * **Shortcode Support**: Use anywhere shortcodes are supported
 * **Flexible Image Sizing**: Choose from registered image sizes or set custom dimensions
 * **Aspect Ratio Preservation**: Smart resizing that maintains image proportions
 * **Accessibility Ready**: Full support for alt text, captions, and screen readers
 * **User-Friendly Admin**: Intuitive interface for managing galleries
 * **Bulk Operations**: Select, edit, and delete multiple images at once

#### Usage

**Creating a Gallery:**
 1. Go to Settings  Image Roulette in your admin dashboard
2. Click „Create New Gallery“ 3. Enter a gallery name 4. Select images from your
Media Library 5. Save your gallery

**Using the Block:**
 1. Add the „Image Roulette“ block to any page or post 2. Select
your gallery from the dropdown 3. Configure image size settings 4. Publish your 
content

**Using the Shortcode:**
 [imagro id=“gallery_1″]

**Shortcode Parameters:**
 * `id` – Gallery ID (required) * `size` – Registered 
image size (thumbnail, medium, large, full) * `width` – Custom width in pixels *`
height` – Custom height in pixels

**Examples:**
 * `[imagro id="gallery_123" size="large"]` * `[imagro id="gallery_123"
width="300"]` * `[imagro id="gallery_123" width="400" height="300"]`

### Credits

This plugin was inspired by a request from @michelleames for speednetworkonline.
com to create an accessible random image block.

## Снимци екрана

 * [[
 * Gallery management interface
 * [[
 * Gutenberg block settings panel with sizing options
 * [[
 * Example of random image display on frontend

## Блокови

Овај додатак пружа 1 блок.

 *   Image Roulette

## Постављање

 1. Upload the plugin files to the `/wp-content/plugins/image-roulette` directory, 
    or install the plugin through the plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen
 3. Use the Settings  Image Roulette screen to create your first gallery

## ЧПП

### Can I use multiple galleries on the same page?

Yes! You can use as many Image Roulette shortcodes or blocks as you want on a single
page, each displaying from different galleries.

### Do images maintain their aspect ratio when resized?

Yes, when using custom width or height (setting one to 0), the plugin automatically
calculates the other dimension to maintain the original aspect ratio.

### Is the plugin accessible?

Absolutely! Image Roulette includes full support for alt text, image titles, captions,
and follows web accessibility standards.

### Can I style the output?

Yes, the plugin outputs clean HTML with CSS classes that you can style:
 * `.imagro-
image` – Main container * `.imagro-error` – Error messages

## Прегледи

Нема рецензија за овај додатак.

## Сарадници и градитељи

„Image Roulette – Random Image Block“ је софтвер отвореног кода. Следећи људи су
допринели овом додатку.

Сарадници

 *   [ Mark Westguard ](https://profiles.wordpress.org/westguard/)

„Image Roulette – Random Image Block“ је преведен на 1 језик. Хвала [преводиоцима](https://translate.wordpress.org/projects/wp-plugins/image-roulette/contributors)
за њихове доприносе.

[Преведите „Image Roulette – Random Image Block“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/image-roulette)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/image-roulette/), проверите
[SVN складиште](https://plugins.svn.wordpress.org/image-roulette/) или се пријавите
на [белешку градње](https://plugins.trac.wordpress.org/log/image-roulette/) преко
[RSS-а](https://plugins.trac.wordpress.org/log/image-roulette/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### 1.0.0

 * Initial release
 * Gallery creation and management
 * Gutenberg block support
 * Shortcode support
 * Custom image sizing
 * Accessibility features
 * Bulk image operations

## Мета

 *  Version **1.0.0**
 *  Last updated **7 месеци раније**
 *  Active installations **50+**
 *  WordPress version ** 5.0 или новије **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 или новије **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/image-roulette/) и [Swedish](https://sv.wordpress.org/plugins/image-roulette/).
 *  [Преведите на свој језик](https://translate.wordpress.org/projects/wp-plugins/image-roulette)
 * Tags
 * [blocks](https://sr.wordpress.org/plugins/tags/blocks/)[gallery](https://sr.wordpress.org/plugins/tags/gallery/)
   [images](https://sr.wordpress.org/plugins/tags/images/)[media](https://sr.wordpress.org/plugins/tags/media/)
   [random](https://sr.wordpress.org/plugins/tags/random/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/image-roulette/advanced/)

## Оцене

No reviews have been submitted yet.

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

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

## Сарадници

 *   [ Mark Westguard ](https://profiles.wordpress.org/westguard/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/image-roulette/)