Including the imagesnap library and preforming the image taking as well as the uploading in one go