Save the photo with its first Id.