Take picture and upload to server.