Search Thumbnails

Features

This plugin adds thumbnails to image search results. You can see it live here.

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)

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:

Full Search:

Thumbnails enabled on image search

Thumbnails enabled for non-image search

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
13 Likes

Hi there, I found a UI layout bug when using this component with the FKB Pro Social Theme.

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!

1 Like

(post deleted by author)

1 Like

Iโ€™ve made the change :+1:

1 Like