Skip to content

daniellienert/assetsource-pexels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads License

Images provided by Pexels

Pexels Asset Source

This package provides a Neos Asset Source to access the Pexels 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:
Neos:
  Media:
    assetSources:
      pexels:
        assetSourceOptions:
          accessKey: your-access-key

Neos Media Browser with Pexels Data Source selected

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.