Take picture scale it and save to db as blob and the open the blob for preview