added location to image upload