Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2277918E46 for ; Sun, 18 Oct 2015 10:42:06 +0000 (UTC) Received: (qmail 2078 invoked by uid 500); 18 Oct 2015 10:42:06 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 2054 invoked by uid 500); 18 Oct 2015 10:42:06 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 2037 invoked by uid 99); 18 Oct 2015 10:42:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2015 10:42:05 +0000 Date: Sun, 18 Oct 2015 10:42:05 +0000 (UTC) From: "jcesarmobile (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4078) correctOrientation is not working on camera.getPicture for PHOTOLIBRARY (works with Camera) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962279#comment-14962279 ] jcesarmobile commented on CB-4078: ---------------------------------- I'm not sure how correctOrientation is supposed to work In my tests, the images are displayed on the app with the same orientation they were taken and the same orientation they show on the Photos app > 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 > Priority: Critical > Labels: Android, Triaged, iOS > > Hi > I use cameraOptions below to get the FILE_URI and to display in tag: > {code} > 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 > {code} > 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