Enhancement: Search for media by filename. #159

Closed
opened 2026-10-05 02:30:33 +02:00 by adam · 3 comments
Owner

Looking for an image in the media folder, I know the filename, but have to sort alpha and click through the sets until I get to the correct page of images, then I can insert it.

I would like a search tool, similar to the content search feature, where I can search by filename, or words in the title (if set in the media DB).

I could navigate the file tree and find the image there and copy it. But this wouldn't work if I wanted to see a set of images with a similar filename, to pick the best one for the content (think of stock images).

Additional context

Add a search input for media, as we have for content.

image

Looking for an image in the media folder, I know the filename, but have to sort alpha and click through the sets until I get to the correct page of images, then I can insert it. I would like a search tool, similar to the content search feature, where I can search by filename, or words in the title (if set in the media DB). I could navigate the file tree and find the image there and copy it. But this wouldn't work if I wanted to see a set of images with a similar filename, to pick the best one for the content (think of stock images). **Additional context** Add a search input for media, as we have for content. ![image](https://user-images.githubusercontent.com/6154767/144500191-d80bb92d-abee-43b0-94f7-88a0598495ad.png) <!-- github-sync-id:1069966569 -->
adam closed this issue 2026-10-05 02:30:33 +02:00
Author
Owner

Hi @zivbk1, the first implementation of the search functionality for media files has been completed. Feel free to give it a try in the latest beta.

image

Hi @zivbk1, the first implementation of the search functionality for media files has been completed. Feel free to give it a try in the latest beta. ![image](https://user-images.githubusercontent.com/2900833/147483528-1b7b6d28-8a06-4d81-a1a1-1f0bd5a87598.png) <!-- github-comment-id:1001606570 -->
Author
Owner

Hi @zivbk1, the first implementation of the search functionality for media files has been completed. Feel free to give it a try in the latest beta.

It works perfectly for me, thank you!!!

> Hi @zivbk1, the first implementation of the search functionality for media files has been completed. Feel free to give it a try in the latest beta. It works perfectly for me, thank you!!! <!-- github-comment-id:1002316736 -->
Author
Owner

Thanks for verifying! Will be released with the upcoming 2022 version. 🎉

Thanks for verifying! Will be released with the upcoming 2022 version. 🎉 <!-- github-comment-id:1002518777 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#159