fixed two issues

* fixed bug with upside down images on front facing camera.
* prevent from phone using a low resolution image.
    there could be a radiogroup to select the desired picture size.
update version code 12