{"id":17650764,"url":"https://github.com/eaceto/eaassetspickercontroller-cordovaplugin","last_synced_at":"2025-07-25T08:04:42.780Z","repository":{"id":147019199,"uuid":"30099543","full_name":"eaceto/EAAssetsPickerController-CordovaPlugin","owner":"eaceto","description":"An assets picker plugin for Cordova","archived":false,"fork":false,"pushed_at":"2015-06-03T20:57:39.000Z","size":408,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T07:52:05.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eaceto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-31T02:26:14.000Z","updated_at":"2015-02-09T17:20:36.000Z","dependencies_parsed_at":"2023-03-30T06:48:47.008Z","dependency_job_id":null,"html_url":"https://github.com/eaceto/EAAssetsPickerController-CordovaPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaceto%2FEAAssetsPickerController-CordovaPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaceto%2FEAAssetsPickerController-CordovaPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaceto%2FEAAssetsPickerController-CordovaPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaceto%2FEAAssetsPickerController-CordovaPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eaceto","download_url":"https://codeload.github.com/eaceto/EAAssetsPickerController-CordovaPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246291983,"owners_count":20753984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-23T11:39:25.438Z","updated_at":"2025-03-30T08:22:21.697Z","avatar_url":"https://github.com/eaceto.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"cordova-imagePicker\n===================\n\nCordova Plugin For Multiple Image Selection - implemented for iOS and Android 4.0 and above.\n\n## Installing the plugin\n\nThe plugin conforms to the Cordova plugin specification, it can be installed\nusing the Cordova / Phonegap command line interface.\n\n    phonegap plugin add https://github.com/wymsee/cordova-imagePicker.git\n\n    cordova plugin add https://github.com/wymsee/cordova-imagePicker.git\n\n\n## Using the plugin\n\nThe plugin creates the object `window.imagePicker` with the method `getPictures(success, fail, options)`\n\nExample - Get Full Size Images (all default options):\n```javascript\nwindow.imagePicker.getPictures(\n\tfunction(results) {\n\t\tfor (var i = 0; i \u003c results.length; i++) {\n\t\t\tconsole.log('Image URI: ' + results[i]);\n\t\t}\n\t}, function (error) {\n\t\tconsole.log('Error: ' + error);\n\t}\n);\n```\n\nExample - Get at most 10 images scaled to width of 800:\n```javascript\nwindow.imagePicker.getPictures(\n\tfunction(results) {\n\t\tfor (var i = 0; i \u003c results.length; i++) {\n\t\t\tconsole.log('Image URI: ' + results[i]);\n\t\t}\n\t}, function (error) {\n\t\tconsole.log('Error: ' + error);\n\t}, {\n\t\tmaximumImagesCount: 10,\n\t\twidth: 800\n\t}\n);\n```\n\n### Options\n\n    options = {\n        // max images to be selected, defaults to 15. If this is set to 1, upon\n    \t// selection of a single image, the plugin will return it.\n    \tmaximumImagesCount: int,\n    \t\n    \t// max width and height to allow the images to be.  Will keep aspect\n    \t// ratio no matter what.  So if both are 800, the returned image\n    \t// will be at most 800 pixels wide and 800 pixels tall.  If the width is\n    \t// 800 and height 0 the image will be 800 pixels wide if the source\n    \t// is at least that wide.\n    \twidth: int,\n    \theight: int,\n    \t\n    \t// quality of resized image, defaults to 100\n    \tquality: int (0-100)\n    };\n    \n### Note for Android Use\n\nThe plugin returns images that are stored in a temporary directory.  These images will often not be deleted automatically though.  The files should be moved or deleted after you get their filepaths in javascript.\n\n## Libraries used\n\n#### ELCImagePicker\n\nFor iOS this plugin uses the ELCImagePickerController, with slight modifications for the iOS image picker.  ELCImagePicker uses the MIT License which can be found in the file LICENSE.\n\nhttps://github.com/B-Sides/ELCImagePickerController\n\n#### MultiImageChooser\n\nFor Android this plugin uses MultiImageChooser, with modifications.  MultiImageChooser uses the BSD 2-Clause License which can be found in the file BSD_LICENSE.  Some code inside MultImageChooser is licensed under the Apache license which can be found in the file APACHE_LICENSE.\n\nhttps://github.com/derosa/MultiImageChooser\n\n#### FakeR\n\nCode(FakeR) was also taken from the phonegap BarCodeScanner plugin.  This code uses the MIT license.\n\nhttps://github.com/wildabeast/BarcodeScanner\n\n## License\n\nThe MIT License\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaceto%2Feaassetspickercontroller-cordovaplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feaceto%2Feaassetspickercontroller-cordovaplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaceto%2Feaassetspickercontroller-cordovaplugin/lists"}