Skip to content

ttreeagency/assetsource-unsplash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads License

Unsplash Asset Source

Installation

Install the package via composer

composer require dl/assetsource-unsplash

How to use it

  1. Read the Unsplash API guidelines carefully!
  2. Register on https://unsplash.com/developers and get your API key.
  3. Configure the API key in the settings

Please take care of the correct attribution of used photos in the frontend.

Media Browser view

Configuration

Since Neos 4.2 a copyright notice is automatically generated and stored with the asset. The copyright notice template can be adjusted using the copyRightNoticeTemplate configuration value.

The following data can be used:

  • user.id
  • user.updated_at
  • user.username
  • user.name
  • user.first_name
  • user.last_name
  • user.twitter_username
  • user.portfolio_url
  • user.bio
  • user.location
  • user.links
  • user.profile_image
  • user.instagram_username
  • user.total_collections
  • user.total_likes
  • user.total_photos
  • user.accepted_tos