photo-library
Photo Library plugin for Cordova and Ionic. The PhotoLibrary plugin allows access to photos from device by url. So you can use plain img tag to display photos…
latest: v9.6.0 · npm: @awesome-cordova-plugins/photo-library
Install
npm install @awesome-cordova-plugins/photo-library
ionic cordova plugin add cordova-plugin-photo-libraryMigrating to Capacitor?
No 1:1 official equivalent was found for this plugin. Check the Capgo community plugin directory or the official Capacitor plugin list for alternatives — many Cordova plugins also still work inside Capacitor via npx cap add.
Photo Library
The PhotoLibrary plugin allows access to photos from device by url. So you can use plain img tag to display photos and their thumbnails, and different 3rd party libraries as well. Saving photos and videos to the library is also supported. cdvphotolibrary urls should be trusted by Angular. See plugin homepage to learn how.
Installation
ionic cordova plugin add cordova-plugin-photo-library --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="To choose photos"
npm install @awesome-cordova-plugins/photo-library
Plugin Repo: https://github.com/terikon/cordova-plugin-photo-library
Supported Platforms
- Android
- Browser
- iOS