cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-2057) When using allowEdit on iOS, user is unable to Crop, Zoom on Image
Date Thu, 13 Dec 2012 21:26:14 GMT

     [ https://issues.apache.org/jira/browse/CB-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah updated CB-2057:
---------------------------------

    Description: 
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+.




  was:
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.

navigator.camera.getPicture(Photo.getSuccess, Photo.getFail, {quality: 45, destinationType:
destinationType.FILE_URI, sourceType: pictureSource.CAMERA, correctOrientation: true, encodingType:
encoding.JPEG, saveToPhotoAlbum: true, targetWidth: 910, targetHeight: 910, allowEdit: true});

You can verify this on iPhone 5 (I believe it works well on previous models) on iOS 6+.




    
> 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

Mime
View raw message