Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

imageCrop option for the FilePicker card does not seem to work #277

Open
ctetreault opened this Issue Sep 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Member

ctetreault commented Sep 27, 2012

Specifying the "imageCropTrue" property when using filePicker, seems to have no affect. The file is successfully picked, but the crop card never appears.

Using code right from the documentation like so:

var details = {
mode: blackberry.invoke.card.FILEPICKER_MODE_PICKER,
type: [blackberry.invoke.card.FILEPICKER_TYPE_PICTURE],
imageCropEnabled: true
};

blackberry.invoke.card.invokeFilePicker(details, function(path) {
alert("saved " + path);
}, function(reason) {
alert("cancelled " + reason);
}, function(error) {
if (error) {
alert("invoke error " + error);
} else {
console.log("invoke success ");
}
});

ericpearson pushed a commit to blackberry-webworks/BB10-WebWorks-Framework that referenced this issue Nov 15, 2012

Only load JNEXT when it's actually needed, provides faster startup ti…
…mes and lower memory usage in apps


Fixes blackberry/BB10-WebWorks-Framework#277

Reviewed By: Nukul Bhasin <nbhasin@rim.com>
Tested By: Tracy Li <tli@rim.com>
Contributor

ejzn commented Apr 30, 2013

property is imageCrop. Posting for visibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment