Skip to content

Commit 34a1a37

Browse files
committedSep 12, 2015
v1.0.12
1 parent 0bbca94 commit 34a1a37

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed
 

‎README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cordova-imagePicker
1+
cordova-obimagepicker
22
===================
33

44
Cordova Plugin For Multiple Image Selection - implemented for iOS and Android 4.0 and above.
@@ -8,9 +8,8 @@ Cordova Plugin For Multiple Image Selection - implemented for iOS and Android 4.
88
The plugin conforms to the Cordova plugin specification, it can be installed
99
using the Cordova / Phonegap command line interface.
1010

11-
phonegap plugin add https://github.com/wymsee/cordova-imagePicker.git
12-
13-
cordova plugin add https://github.com/wymsee/cordova-imagePicker.git
11+
phonegap plugin add cordova-obimagepicker
12+
cordova plugin add cordova-obimagepicker
1413

1514

1615
## Using the plugin
@@ -41,7 +40,8 @@ window.imagePicker.getPictures(
4140
console.log('Error: ' + error);
4241
}, {
4342
maximumImagesCount: 10,
44-
width: 800
43+
width: 800,
44+
dataurl: 0
4545
}
4646
);
4747
```
@@ -62,7 +62,8 @@ window.imagePicker.getPictures(
6262
height: int,
6363
6464
// quality of resized image, defaults to 100
65-
quality: int (0-100)
65+
quality: int (0-100),
66+
dataurl: 0 // 1 if you what to return image in base64 format
6667
};
6768

6869
### Note for Android Use

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-obimagepicker",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"description": "Cordova file picker",
55
"main": "index.js",
66
"scripts": {

‎plugin.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="ro.qualitance.obimagepicker"
5-
version="1.0.9">
5+
version="1.0.12">
66

77
<name>ObImagePicker</name>
88

‎www/imagepicker.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ ImagePicker.prototype.getPictures = function(success, fail, options) {
3030
maximumImagesCount: options.maximumImagesCount ? options.maximumImagesCount : 15,
3131
width: options.width ? options.width : 0,
3232
height: options.height ? options.height : 0,
33-
quality: options.quality ? options.quality : 100
33+
quality: options.quality ? options.quality : 100,
34+
dataurl: options.dataurl ? options.dataurl : 0
3435
};
3536

3637
return cordova.exec(success, fail, "ImagePicker", "getPictures", [params]);

0 commit comments

Comments
 (0)
Failed to load comments.