How Does Media Search Work, and What Can I Search By?

Infinite Uploads expands the default WordPress media search so you can find files by more than just their title.

Searchable Fields

You can search across 6 different fields:

  1. Title. The display name of the media item in WordPress.
  2. Filename. The actual file name on disk (e.g., “company-logo-2024.png”).
  3. Alt Text. The alternative text you’ve set on images for accessibility and SEO.
  4. Description. The full description field on the media item.
  5. Caption. The caption text associated with the file.
  6. Folder Name. The name of the folder the file is assigned to.

That last one is powerful. If you’ve named your folders well (“Client A”, “Blog Headers”, “Product Photos”), you can search by folder name to pull up everything in that category without clicking through the tree.

How Search Scoping Works

Search respects whatever folder you currently have selected:

  • Folder selected: Search only returns results from that specific folder.
  • All Files selected: Search covers your entire media library.
  • Uncategorized selected: Search only covers files that aren’t assigned to any folder.

This means you can narrow your results before you even type anything. Click the folder first, then search within it.

Search Is a LIKE Query

The search uses partial matching. You don’t need to type the full filename or title. Typing “logo” will find “company-logo-2024.png”, “Logo Header”, and any file with “logo” anywhere in the searchable fields. It’s not case-sensitive.