---
description: >-
  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…
---

# 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

```bash
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](https://github.com/terikon/cordova-plugin-photo-library)

## Supported Platforms

- Android
- Browser
- iOS

## Further Information

- [Installation Guide](../../installation.md)
- [FAQ](../../faq.md)
