category image upload, algorithm for search bar