photo upload posting to database with exif gps conversion