trilobit-gmbh / contao-pixabay-bundle
Contao 4 pixabay bundle
Installs: 4 838
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 0
Open Issues: 1
Type:contao-bundle
Requires
- php: ^7.0
- ext-curl: *
- contao/core-bundle: ^4.4 || ^4.9
Requires (Dev)
- contao/manager-plugin: ^2.0
- friendsofphp/php-cs-fixer: ^2.1
Suggests
- trilobit-gmbh/contao-worldofimages-bundle: for Contao 4.9, 4.13, 5.x and support for Flickr, Pexels, Pixabay and Unsplash
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
README
Mit der Pixabay Erweiterung können sie über die Dateiverwaltung von Contao Bilder oder Fotos von der freien Bilddatenbank Pixabay herunterladen. Um Pixabay benutzen zu können, benötigen sie eine API-Key, den sie nach der Registrierung bei Pixabay anfordern können. Sie können außerdem Voreinstellungen für die Pixabay-Suche in der Benutzerverwaltung festlegen.
With the Pixabay extension you can download images or photos from the free image database Pixabay via the file management of Contao. In order to use Pixabay, you will need an API key that you can request after registering on the Pixabay website. You can also set preferences for the Pixabay search in the User Management.
Backend Ausschnitt
Installation
Install the extension via composer: trilobit-gmbh/contao-pixabay-bundle.
And add the following code (with the API-Key from the Pixabay Website) to the config.yml of your project. You may have to create a config.yml, if it doesn't exist in your project. The config.yml is or has to be located in the app/config directory in Contao 4.4 and in the config directory in Contao 4.8.
contao:
localconfig:
pixabayApiKey: 'Your API-Key'
pixabayImageSource: 'largeImageURL'
Compatibility
- Contao version ~4.4
- Contao version ~4.8
- Contao version ~4.9