Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57E01E8D5 for ; Thu, 13 Dec 2012 22:20:13 +0000 (UTC) Received: (qmail 64541 invoked by uid 500); 13 Dec 2012 22:20:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 64497 invoked by uid 500); 13 Dec 2012 22:20:13 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 64447 invoked by uid 500); 13 Dec 2012 22:20:12 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 64430 invoked by uid 99); 13 Dec 2012 22:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 22:20:12 +0000 Date: Thu, 13 Dec 2012 22:20:12 +0000 (UTC) From: "Greg (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-2057) When using allowEdit on iOS, user is unable to Crop, Zoom on Image 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-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg closed CB-2057. -------------------- Resolution: Not A Problem This is a problem on my side - my mistake. > When using allowEdit on iOS, user is unable to Crop, Zoom on Image > ------------------------------------------------------------------ > > Key: CB-2057 > URL: https://issues.apache.org/jira/browse/CB-2057 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.2.0 > Environment: iOS 6.x (iPhone 5) > Reporter: Greg > Assignee: Shazron Abdullah > Priority: Critical > Labels: camera > > When using the following code, the user is unable to "crop" the photo on the edit screen. Once you attempt to zoom, it snaps back to the original version. > {code} > var success = function(imageURI) { > alert('image url: ' + imageURI); > } > var fail = function(message) { > alert('error: ' + message); > } > > var pictureSource=navigator.camera.PictureSourceType; > var destinationType=navigator.camera.DestinationType; > var encoding=navigator.camera.EncodingType; > navigator.camera.getPicture(success, fail, > {quality: 45, destinationType: destinationType.FILE_URI, sourceType: pictureSource.CAMERA, correctOrientation: true, encodingType: encoding.JPEG, saveToPhotoAlbum: true, targetWidth: 910, targetHeight: 910, allowEdit: true} > ); > {code} > You can verify this on iPhone 5 (I believe it works well on previous models) on iOS 6+. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira