Added Photo support to examples/addcontact.cc