-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.9.0
-
Fix Version/s: None
-
Component/s: cordova-plugin-camera
-
Environment:
Android
Hi
I use cameraOptions below to get the FILE_URI and to display in <img> tag:
correctOrientation: true
quality: 50
encodingType: Camera.EncodingType.JPEG
targetWidth: 300
targetHeight: 300
destinationType: window.navigator.camera.DestinationType.FILE_URI
sourceType: window.navigator.camera.PictureSourceType.PHOTOLIBRARY
But the picture displayed within wrong orientation.
Updated:
I try use window.navigator.camera.PictureSourceType.CAMERA in sourceType, and everything work as expected.