Add search photo function