debugging take a photo, removed ajax.post after take