adbros/remote-image-processor

This package will help you to implement cloud services such as thumbor and more.

v0.3 2020-11-30 22:39 UTC

This package is auto-updated.

Last update: 2021-04-29 01:10:07 UTC


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>