Searching Files


ImageKit provides an easy-to-use search functionality for all images uploaded in the media library. You can find the search bar at the top of the "Media Library" section as can be seen from the screenshot below.



1. The search is case insensitive.

2. The search is exact match search. For example, if you search for "test", it will match files and folders with names "test123", "123test", "Test_123", "123_TEST_456" etc. The word "test" should appear in the file or folder name as it is.


When you complete the search, the media library gets an additional "Search Results" with the search results as seen in the screenshot below.



 


Deleting Files 


To delete a file, click on that file in any view - "Image View", "Directory View" or "Search Results". This would open up a popup with details about the file like name, dimensions, size etc. The option to delete the file appears just under the name of the file in this popup.



You will be asked for confirmation after you click on "Delete permanently". Upon successful confirmation, the file is removed from the Media Library.


ImageKit also provides you with APIs to search and delete files in the media library. The documentation for the same can be found at these links

1. Search API

2. Delete API


If you have any questions, please create a support ticket from your ImageKit dashboard.