init commit for taking photo and choosing photo from phone.