added gps detection for image