Giter Club home page Giter Club logo

assetsource-pexels's Introduction

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 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.

assetsource-pexels's People

Contributors

daniellienert avatar jonnitto avatar sebobo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

assetsource-pexels's Issues

Selecting an image after the cache was flushed causes an exception

Clicking in the sidebar on a previously selected pexels image should open the media modal but instead throws an exception Photo with id 515169 was not found in the cache.

As the cache is not persistent this can easily happen after deployments, pulling data from a live system or other cases.

Doesn't work in Firefox?

The plugin works perfectly in Chrome.

In Firefox, however, the spinner rotates in the Inspector with the ImageInterface ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.