getting location for photos