webandco / neos-giphy
Giphy Asset Source for Neos CMS
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- neos/neos: *
This package is auto-updated.
Last update: 2024-11-20 03:41:50 UTC
README
Installation
composer require webandco/neos-giphy
How to use
- Get an APi ket from https://developers.giphy.com/
- Configure the API Key in Settings.yaml
Configuration
Neos: Media: assetSources: giphy: assetSource: 'Webandco\Giphy\AssetSource\GiphyAssetSource' assetSourceOptions: apiKey: 'yourAPIKey' copyrightNoticeTemplate: '${"Photo by <a href=\"" + user.profile_url + "\">" + user.display_name + "</a>"}'
The following data can be used in copyrightNoticeTemplate
- user.display_name
- user.username
- user.avatar_url
- user.banner_url
- user.profile_url