dl / assetsource-unsplash
Unsplash Asset Source for Neos CMS - https://www.unsplash.com/
Installs: 9 113
Dependents: 0
Suggesters: 1
Security: 0
Stars: 7
Watchers: 3
Forks: 3
Open Issues: 1
Type:neos-package
Requires
- behat/transliterator: ^1.2
- neos/neos: ^5.0 || ^7.0 || ^8.0 || ^9.0
- unsplash/unsplash: ^3.0
README
Unsplash Asset Source
Installation
Install the package via composer
composer require dl/assetsource-unsplash
How to use it
- Read the Unsplash API guidelines carefully!
- Register on https://unsplash.com/developers and get your Access key.
- Configure the Access key in the settings:
Neos: Media: assetSources: unsplash: assetSourceOptions: accessKey: your-access-key
Please take care of the correct attribution of used photos in the frontend.
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