Title: Llama Shuffle — by Barking Llama
Author: grandllama
Published: <strong>17.02.2026</strong>
Last modified: 17.02.2026

---

Поиск плагинов

![](https://ps.w.org/llama-shuffle-by-barking-llama/assets/banner-772x250.png?rev
=3463642)

![](https://ps.w.org/llama-shuffle-by-barking-llama/assets/icon.svg?rev=3463642)

# Llama Shuffle — by Barking Llama

 Автор: [grandllama](https://profiles.wordpress.org/grandllama/)

[Скачать](https://downloads.wordpress.org/plugin/llama-shuffle-by-barking-llama.1.0.1.zip)

 * [Детали](https://ru.wordpress.org/plugins/llama-shuffle-by-barking-llama/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/llama-shuffle-by-barking-llama/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/llama-shuffle-by-barking-llama/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/llama-shuffle-by-barking-llama/#developers)

 [Поддержка](https://wordpress.org/support/plugin/llama-shuffle-by-barking-llama/)

## Описание

**Llama Shuffle** is a lightweight utility plugin that lets you serve a random image
from your WordPress Media Library or a list of URLs.

It is designed to be:
 * Host-agnostic (works on managed hosts like Pressable, WP
Engine, Kinsta) * AI-friendly (no redirects required when using the REST endpoint)*
Simple, fast, and free — no upsells, no tracking, no external services

Common use cases:
 * Random header or hero images * Promotional image rotation *
AI image reference workflows * Lightweight image shuffling without sliders or page
builders

Images can be grouped using **Image Sets** (a custom Media Library taxonomy), or
supplied via a plain-text URL list.

Built by **Barking Llama Designwerks**.

### Features

 * Random image selection from Media Library attachments
 * Image grouping via **Image Sets** taxonomy
 * Optional URL list mode (one URL per line)
 * Portable endpoint:
    - `/llama-shuffle`
    - `/random-image` (alias)
 * REST API endpoint (no redirects):
    - `/wp-json/llama-shuffle/v1/url?set=header`
 * Cache controls for performance
 * Shortcode support
 * No JavaScript required
 * No upsells, ads, or telemetry

### How to Use

### Media Library Mode (Recommended)

 1. Go to **Media  Library** (List view works best)
 2. Edit or bulk-edit images
 3. Add one or more terms under **Image Sets** (for example: `header`, `promo`, `seasonal`)
 4. Set the **Default Set** in plugin settings

Example endpoints:

/llama-shuffle
 /llama-shuffle?set=header /random-image?set=promo

### REST API (Recommended for scripts & AI workflows)

GET /wp-json/llama-shuffle/v1/url?set=header

Response:
 { «set»: «header», «url»: «https://example.com/wp-content/uploads/2026/
02/example.png» }

### URL List Mode

Switch Source Mode to URL List in settings and paste one image URL per line.

Optional section headers allow multiple pools:

[set:header]
 https://example.com/a.jpg https://example.com/b.jpg

[set:promo]
 https://example.com/c.jpg

### Shortcode

Display a random image in content:

[llama_shuffle set=»header» alt=»Random image» class=»my-class»]

### Developer Notes

Llama Shuffle is intentionally small and dependency-free.

The plugin avoids file-extension-based endpoints (such as `.jpg`) to remain portable
across managed WordPress hosts where static asset handling may bypass WordPress 
rewrites.

For automation, scripts, or AI workflows, the REST API endpoint is the recommended
integration point:

GET /wp-json/llama-shuffle/v1/url?set={slug}

This endpoint returns a direct image URL without redirects and can be safely consumed
by external services.

Image pools are implemented as a non-hierarchical attachment taxonomy (`llama_image_set`).
This allows images to belong to multiple sets without duplication.

Candidate image IDs are cached using WordPress transients to reduce database load.
Empty caches are automatically refreshed to avoid stale states.

The plugin does not enqueue scripts, register blocks, or add front-end assets. All
output is server-side.

There are no external API calls, tracking scripts, or upgrade paths.

## Скриншоты

[⌊Settings screen showing source mode selection, default Image Set, and available
endpoints.⌉⌊Settings screen showing source mode selection, default Image Set, and
available endpoints.⌉[

Settings screen showing source mode selection, default Image Set, and available 
endpoints.

[⌊Tagging images with Image Sets in the Media Library.⌉⌊Tagging images with Image
Sets in the Media Library.⌉[

Tagging images with Image Sets in the Media Library.

[⌊Filtering Media Library items by Image Set.⌉⌊Filtering Media Library items by 
Image Set.⌉[

Filtering Media Library items by Image Set.

## Установка

 1. Upload the `llama-shuffle` folder to `/wp-content/plugins/`
 2. Activate **Llama Shuffle** through the Plugins menu
 3. Go to **Settings  Llama Shuffle**
 4. Tag images in the Media Library using **Image Sets**
 5. Visit `/llama-shuffle` to test

If the endpoint returns a 404 after activation, visit **Settings  Permalinks** and
click **Save Changes** once to flush rewrite rules.

## Часто задаваемые вопросы

### Why not use a .jpg endpoint?

Many managed hosts treat .jpg paths as static files and block WordPress rewrites.
Llama Shuffle uses extensionless endpoints to ensure portability across hosts.

### Does this work with caching or CDNs?

Yes. Client cache behavior is configurable, and the REST endpoint bypasses redirects
entirely.

### Is this plugin related to Content Weaver?

Llama Shuffle is a standalone utility plugin built by Barking Llama Designwerks.
It can be used independently or alongside other tools.

### Does it track users or phone home?

No. There is no tracking, analytics, telemetry, or external service dependency.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«Llama Shuffle — by Barking Llama» — проект с открытым исходным кодом. В развитие
плагина внесли свой вклад следующие участники:

Участники

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

[Перевести «Llama Shuffle — by Barking Llama» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/llama-shuffle-by-barking-llama)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/llama-shuffle-by-barking-llama/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/llama-shuffle-by-barking-llama/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/llama-shuffle-by-barking-llama/)
по [RSS](https://plugins.trac.wordpress.org/log/llama-shuffle-by-barking-llama/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0.1

 * Initial public release
 * Media Library Image Sets support
 * Portable shuffle endpoint
 * REST API endpoint
 * URL list mode
 * Shortcode support

## Мета

 *  Версия **1.0.1**
 *  Обновление: **8 месяцев назад**
 *  Активных установок: **Менее 10**
 *  Версия WordPress ** 6.0 или выше **
 *  Совместим вплоть до: **6.9.10**
 *  Версия PHP ** 7.4 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/llama-shuffle-by-barking-llama/)
 * Метки:
 * [images](https://ru.wordpress.org/plugins/tags/images/)[media](https://ru.wordpress.org/plugins/tags/media/)
   [random](https://ru.wordpress.org/plugins/tags/random/)[rest-api](https://ru.wordpress.org/plugins/tags/rest-api/)
   [utilities](https://ru.wordpress.org/plugins/tags/utilities/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/llama-shuffle-by-barking-llama/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/llama-shuffle-by-barking-llama/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/llama-shuffle-by-barking-llama/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/llama-shuffle-by-barking-llama/)