adbros / remote-image-processor
This package will help you to implement cloud services such as thumbor and more.
Installs: 7 586
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.1 || ^8.0
- nette/utils: ^2.4 || ^3.0
Requires (Dev)
- latte/latte: ^2.4
- nette/application: ^2.4 || ^3.0
- nette/di: ^2.4 || ^3.0
- ninjify/coding-standard: ^0.11
- ninjify/nunjuck: ^0.3
README
Installation
composer require adbros/remote-image-processor
Configuration
extensions: rip: Adbros\RemoteImageProcessor\DI\Extension rip: service: Adbros\RemoteImageProcessor\Services\ThumborService('https://thumbor.url', 'securityKey') aliases: detail: '400x255'
Usage
<a href="{$imageUrl|image}"> <img src="{$imageUrl|image:detail}" alt=""> </a>