Wiring up the nearby query for photos in mongo