Adds basic search function for photos