add get nearby photo function