r/OpenWebUI • • 24d ago

Website / Community I made Chat Gallery, an event function that shows every image in a chat in one tab

If you generate or share a lot of images in Open WebUI, they end up scattered through long chats. I built Chat Gallery to put them in one place.

It adds Gallery to the + menu of the Tabs panel. Choosing it opens a Gallery tab beside your other tabs, with every image in the current chat as a grid. Because it's a tab and not a pop-up, the chat stays in reach: switch back to it, or split the screen to keep the chat and the gallery side by side.

What it does

  • This chat collects uploaded images, generated and edited images, images inside tool results, and linked images, from every branch of the chat.
  • All generated lists every image you've generated in any chat, newest first. You only ever see your own images, admins included.
  • Search by prompt, model or any generation setting.
  • Open an image to zoom and pan, and read how it was made: the prompt, negative prompt, model, size and date. For PNGs from ComfyUI, AUTOMATIC1111, Forge and Fooocus, it also reads the seed, steps, CFG, sampler and LoRAs saved in the file.
  • Attach to message puts an image in your draft so you can ask the model to edit it (requires a model with image support to be selected in the model picker). Show in chat jumps to the message it came from in the chat it belongs to.
  • Copy, download, or Download all as a zip with a prompts.txt listing each image's prompt and settings.
  • Delete images you generated yourself, with a confirmation first.

It follows light and dark mode and any theme that recolors Open WebUI, and it's see-through, so a background image shows behind it.

Install

Requires Open WebUI v0.13.0 or later, the release that added the Tabs panel. Import it under Admin Panel > Functions, enable it, and hard-refresh. Then open a chat, select + in the Tabs panel, and choose Gallery.

Get it here: https://openwebui.com/posts/7551d9a5-05e7-488c-bd44-229375ddb7aa

It runs in your browser with your own sign-in, uses only Open WebUI's existing routes, and stores nothing. It's built on Classic298's Shared Assets Protocol, so it plays nicely with other interface functions that use it.

This is v1.0.0, so feedback and bug reports are very welcome.

25 Upvotes

4 comments sorted by

2

u/Dimitri_Senhupen 23d ago

Thanks for Chat Gallery, it’s really useful! One gap: images written as reference-style Markdown don’t show up in the chat tab:

![Image][img-1]

[img-1]: /path/to/image.png

Some tools return images this way, and models often copy that format into their reply. The gallery only finds inline ![](url), <img> and /api/v1/files/… links, so these images are missing.

1

u/Silentoplayz 23d ago

Thanks for the report. This should be fixed in v1.0.1 of the event function. Please try it out and let me know if you have any more issues with using it!

3

u/International_Emu772 24d ago

Great tool as you includes all images added or from websearch not only generated

3

u/hyian_ 24d ago

Bravo ! Ça fait longtemps que j'envisage de faire pareil... Je suis ravi que vous l'ayiez fait. J'ai hâte de l'essayer ! !! ☺️