# Search Thumbnails

**URL:** https://meta.discourse.org/t/search-thumbnails/395082
**Category:** Plugin
**Created:** [February 3, 2026, 8:57pm UTC](https://meta.discourse.org/t/search-thumbnails/395082 "2026-02-03T20:57:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 3, 2026, 8:57pm UTC](https://meta.discourse.org/t/search-thumbnails/395082/1 "2026-02-03T20:57:30Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Adds thumbnails to image search results |
| 👓 | **Preview** | [Search results for 'trip with:images order:latest' - Unicyclist.com](https://unicyclist.com/search?q=trip%20with%3Aimages%20order%3Alatest) |
| 🛠 | **Repository Link** | [https://github.com/Canapin/discourse-search-thumbnails](https://github.com/Canapin/discourse-search-thumbnails) |
| 📖 | **Install Guide** | [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) |

## Features

This plugin adds thumbnails to image search results. You can see it live [here](https://unicyclist.com/search?q=trip%20with%3Aimages%20order%3Alatest).

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/5/9/65967ff8318b3dd7f49980e07f249dbf4782ce91.png)

Many times, on my own forums, I have used the search to find specific pictures.  
Clicking on each search result to open the post and see if the image I was looking for was in there was tiresome ![image-(1)](https://global.discourse-cdn.com/meta/original/4X/9/0/5/90595dea2d13d7fbf418cd53c53987d3309a23b2.png)

This feature makes searching for pictures easier.

By default, thumbnails appear only when using the `with:images` search filter, but there’s a setting to extend the feature to all searches.

## Screenshots

Quick search:

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/1/f/61f4862ce16c626be4e4050ed84e2d22446c5cc1.jpeg)

Full Search:

Thumbnails enabled on image search

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/f/8/1f83d4ac37f8797d46ece2867e6d8e7b4f204d78.jpeg)

Thumbnails enabled for non-image search

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/b/9/fb9fc09aed8209c64bfa3b493926fb8dba0ca168.jpeg)

## Settings

| Setting | Description | Default |
| --- | --- | --- |
| `search_thumbnails_enabled` | Enable thumbnail previews in search results for posts with images. | `true` |
| `search_thumbnails_only_with_images_filter` | Only show thumbnails when using the `with:images` filter. If disabled, thumbnails appear in all searches. | `true` |
| `search_thumbnails_max_count` | Maximum number of thumbnails to display per result. Set to 0 for unlimited. | `5` |

---

<div class="post-metadata">

### Author: ![Monikas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/monikas/32/375316_2.png) [@Monikas](https://meta.discourse.org/u/Monikas)
#### Post date: [February 10, 2026, 3:12pm UTC](https://meta.discourse.org/t/search-thumbnails/395082/2 "2026-02-10T15:12:25Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/a/a/c/aac77e7fb05d9b3b9932e3f6e93bd0bdd73d462a.jpeg)

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/8/6/886bf5a271bc106f746e8cf63c6ff8a087c45e94.jpeg)

**Hi there, I found a UI layout bug when using this component with the [FKB Pro Social Theme](https://meta.discourse.org/t/fkb-pro-social-theme/234323).**

As shown in the screenshot below, when a post contains many images, the thumbnails don’t wrap to the next line. This causes the entire search result item to overflow the container, pushing the text and buttons outside the UI background.

Could you please add some CSS like `flex-wrap: wrap;` to the thumbnail container to prevent this?

Thanks!

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 10, 2026, 5:05pm UTC](https://meta.discourse.org/t/search-thumbnails/395082/4 "2026-02-10T17:05:14Z")

</div>

I’ve made the change 👍
