# Customizing the media attached to your buy bot

# Customizing the media attached to your buy bot

A buy post carries either one fixed picture or a fresh pick from a linked gallery site on every buy.

## Fixed vs random gallery image

#### The two modes

| Setting | Value |
| --- | --- |
| Fixed image (default) | Every buy carries the same image, GIF or video. |
| Random gallery image | Every buy carries a fresh picture from the bot's linked gallery site(s). |

Switch it in the dashboard's Layout settings (**Fixed image** / **Random gallery image**), applied on the next Save & Push.

Random mode draws from every image across the bot's linked gallery site(s). If no gallery picture is ready, the buy falls back to the fixed image, or to text alone — a buy is never dropped for a media failure.

> **Note**
>
> With random mode on but no gallery linked, the settings card reads `Buy media: random gallery image is on, but no gallery site is linked to this bot — the fixed <image/GIF/video> is used`, or ends `— posts go without media` when there's no fixed media either.

## Random meme for buy bot media - How it works

In Telegram, setting new media while random mode is on — from the post-fork wizard's Edit Media, the settings card's Update Media, or `/buybotimage` — switches the bot back to fixed media. The bot asks first and writes nothing until you confirm.

- [The settings card](/buy-bot/buybot-commands#the-settings-card)

> **The dashboard's own media upload does not ask**
>
> Uploading new media from the dashboard while random mode is on replaces the fixed media immediately, with no confirmation, and leaves random mode on — the new file only becomes the fallback. The upload doesn't wait for Save & Push.

#### Dashboard upload limits

| Setting | Value |
| --- | --- |
| Accepted | jpg, jpeg, png, webp, gif, mp4, webm |
| jpg / jpeg / png / webp | 5 MB max |
| gif / mp4 / webm | 20 MB max |
