Fixed fragment to calculate distance against remote photos