Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniellienert/assetsource-pexels
Neos Asset Source for https://www.pexels.com/
https://github.com/daniellienert/assetsource-pexels
assetsource neoscms pexels
Last synced: 3 months ago
JSON representation
Neos Asset Source for https://www.pexels.com/
- Host: GitHub
- URL: https://github.com/daniellienert/assetsource-pexels
- Owner: daniellienert
- License: mit
- Created: 2018-05-01T12:36:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T08:28:55.000Z (7 months ago)
- Last Synced: 2024-10-05T07:12:25.971Z (3 months ago)
- Topics: assetsource, neoscms, pexels
- Language: PHP
- Homepage:
- Size: 55.7 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Latest Stable Version](https://poser.pugx.org/dl/assetsource-pexels/v/stable)](https://packagist.org/packages/dl/assetsource-pexels) [![Total Downloads](https://poser.pugx.org/dl/assetsource-pexels/downloads)](https://packagist.org/packages/dl/assetsource-pexels) [![License](https://poser.pugx.org/dl/assetsource-pexels/license)](https://packagist.org/packages/dl/assetsource-pexels)
![Images provided by Pexels](https://user-images.githubusercontent.com/642226/39978717-6c848b32-5742-11e8-82bb-d5e325e29c6d.png)
# Pexels Asset Source
This package provides a Neos Asset Source to access the [Pexels](https://www.pexels.com) image database.## How to use it
1. Install the package via composer `composer require dl/assetsource-pexels`
2. Request an API key from Pexels https://www.pexels.com/api/new/
3. Configure the API key in the settings:```yaml
Neos:
Media:
assetSources:
pexels:
assetSourceOptions:
accessKey: your-access-key
```![Neos Media Browser with Pexels Data Source selected](https://user-images.githubusercontent.com/642226/87046128-0d288c00-c1f9-11ea-9d82-b46a27affff7.png)
## AssetsourceOptions
**accessKey**
The access key to the Pexels.com API
**proxyUrl**
If a proxy is needed to access pexels.com, configure the proxy here.
**copyRightNoticeTemplate**
Eel expression to compile the copyright notice using available data:
* *user.name* The authors name
**defaultSearchTerm**
If set, this search is shown instead of the curated photos when no search term is defined.