dieterholvoet/oc-imageresizer-plugin

Provides an easy way to resize images and cache the result.

dev-master 2020-02-12 23:38 UTC

This package is auto-updated.

Last update: 2024-04-13 09:01:53 UTC


README

Latest Stable Version Total Downloads License

Provides an easy way to resize images and cache the result.

Why?

  • Serve images in the dimensions they are displayed on the webpage, to prevent wasting resources
  • Convert an image path to a full url
  • Can be used in code and in Twig

Installation

This package requires PHP 7.1 and OctoberCMS. It can be installed using Composer:

 composer require dieterholvoet/oc-imageresizer-plugin

License

Distributed under the MIT License. See the LICENSE file for more information.