Take and upload photos to dropbox