You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Greg (JIRA)" <ji...@apache.org> on 2012/12/13 23:20:12 UTC

[jira] [Closed] (CB-2057) When using allowEdit on iOS, user is unable to Crop, Zoom on Image

     [ 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