adbros/remote-image-processor

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

v0.3.1 2021-10-11 09:46 UTC

This package is auto-updated.

Last update: 2024-12-11 17:22:26 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>