Search, update & delete files
You can access search functionality from the top of the Media Library section. There are two search modes available.
Basic searching allows you to search a file or folder by name. Enter the full name or the characters at the beginning of the name and hit enter.
All files or folders whose name either matches exactly or begins with the provided input will be returned.
Media library basic search
By clicking on the options given under the 'Search within' section, you can limit the search to a certain type of file.
By default, all files are searched, but if you are only looking for an image file then select images in this dropdown.
The advanced search mode can be accessed by clicking on the filter icon in the search bar. This mode allows you to create complex search queries to find the exact file(s) you are looking for. The advanced search mode allows searching based on -
- File size
- Dimensions (applicable for images)
- Transparency (applicable for images)
- First upload date
- Last modified date
For example, let's say you want to find a file -
- That was uploaded within the last month.
- And has either the
- And the dimension is larger than
You can set these filters in the media library UI to get all files that match the above search criteria.
Advanced file seaching - example 1
You can also create more complex queries by combining multiple search parameters and changing how they are grouped.
Grouping multiple queries using AND/OR operator
There are two places where you can add a new search query -
- 1.Clicking on the
+icon next to an existing filter lets you combine other search parameters in the same filter.
- 2.Clicking on
+ Add Filterlink lets you add another filter in parallel to the existing one. This new filter can be combined either to narrow (
andoperator) or to expand (
oroperator) the results from other search filters.
Right-click the file to open menu options. Select the "Delete" item. This will open a confirmation popup. Click on "Submit" to permanently delete your file. Upon confirmation, the file is deleted permanently from the Media Library.
You can select multiple files together by pressing and holding the Command key in Mac or the Ctrl key in Windows. Right-click any file and click the "Delete" option to delete all files in one go.
To view file details, right-click the file and click the "Details" option.
Media library dropdown menu
This will open a detailed section that has all the file details, including file name, file size, and more. Here, you can add new or edit existing tags, apply extensions, etc.
Editing custom focus area
By clicking on the 'Custom focus area' option in the dropdown menu, you can update the custom coordinates of the image.
ImageKit.io also provides APIs to upload, delete, and search for image files within its media library. The documentation for the same can be found here: