You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Janet B (JIRA)" <ji...@apache.org> on 2015/09/20 08:40:04 UTC
[jira] [Commented] (CB-4078) correctOrientation is not working on
camera.getPicture for PHOTOLIBRARY (works with Camera)
[ https://issues.apache.org/jira/browse/CB-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14877443#comment-14877443 ]
Janet B commented on CB-4078:
-----------------------------
There seems to be nothing further addressed about this. My guess is that people have been simply implementing a manual rotation feature, but it would be nice if it just worked.
> correctOrientation is not working on camera.getPicture for PHOTOLIBRARY (works with Camera)
> -------------------------------------------------------------------------------------------
>
> Key: CB-4078
> URL: https://issues.apache.org/jira/browse/CB-4078
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 2.9.0
> Environment: iOS
> Reporter: aligo
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org