Capture image and sellecting image from gallery