add funtion :get image from camera and crop image funtion.