added functions to set geolocation to photo.