{ "id": "62966", "key": "TIMOB-2334", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11229", "name": "Release 1.5.0 M04", "archived": true, "released": true, "releaseDate": "2010-12-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:48.000+0000", "created": "2011-04-15T03:16:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "gallery", "imageview", "ios", "ipad", "photo", "resize" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

on 3.2 using 1.5 images from the photo gallery cannot be\nresized.

\n

code:
\nTitanium.Media.openPhotoGallery({

\n
\n    success:function(event)\n    {\n        var cropRect = event.cropRect;\n        var image = event.media;\n\n        // set image view\n        Ti.API.debug('Our type was: '+event.mediaType);\n        if(event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO)\n        {\n            imageView.image = image;\n        }\n        else\n        {\n\n        }\n\n        Titanium.API.info('PHOTO GALLERY SUCCESS cropRect.x ' + cropRect.x + ' cropRect.y ' + cropRect.y  + ' cropRect.height ' + cropRect.height + ' cropRect.width ' + cropRect.width);\n\n    },\n    cancel:function()\n    {\n        var nm_dialog = Ti.UI.createAlertDialog({\n            message: 'Canceled',\n            buttonNames: ['Ok']\n        });\n\n        nm_dialog.show();\n\n    },\n    error:function(error)\n    {\n    },\n    allowEditing:true,\n//  popoverView:popoverView,\n    arrowDirection:arrowDirection,\n    mediaTypes:[Ti.Media.MEDIA_TYPE_VIDEO,Ti.Media.MEDIA_TYPE_PHOTO],\n});\n
\n

HD Ticket:
\nhttp://developer.appcelerator.com/helpdesk/view/53841

{html}", "attachment": [], "flagged": false, "summary": "setting image to allow edit is broken on the ipad.", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128186", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Disabling arrowDirection because it was undefined with the\nsample code, image editing did show up. Going to verify again\ntomorrow.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:16:59.000+0000", "updated": "2011-04-15T03:16:59.000+0000" }, { "id": "128187", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [fdd98f13434697baf2281a2d79fc12fed272a342])\n[#2334 state:fixed-in-qa] When coming from an\nediting, ignore mediaUrl, as that's the uncut image. \nhttps://github.com/appcelerator/titanium_mobile/commit/fdd98f134346...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:16:59.000+0000", "updated": "2011-04-15T03:16:59.000+0000" }, { "id": "128188", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

confirmed on 3.2 ipad and 4.2 (3g) ipad using bugtest\ncontent
\nTitanium SDK version: 1.5.0 (12/08/10 13:01 7b6b188)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:17:00.000+0000", "updated": "2011-04-15T03:17:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }