https://github.com/dieterholvoet/oc-imageresizer-plugin
Provides an easy way to serve resized images and cache the result.
https://github.com/dieterholvoet/oc-imageresizer-plugin
octobercms octobercms-plugin
Last synced: 5 months ago
JSON representation
Provides an easy way to serve resized images and cache the result.
- Host: GitHub
- URL: https://github.com/dieterholvoet/oc-imageresizer-plugin
- Owner: DieterHolvoet
- License: mit
- Created: 2020-01-19T14:06:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T23:38:57.000Z (over 6 years ago)
- Last Synced: 2024-12-30T06:12:08.209Z (over 1 year ago)
- Topics: octobercms, octobercms-plugin
- Language: PHP
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
oc-imageresizer-plugin
======================
[](https://packagist.org/packages/dieterholvoet/oc-imageresizer-plugin)
[](https://packagist.org/packages/dieterholvoet/oc-imageresizer-plugin)
[](https://packagist.org/packages/dieterholvoet/oc-imageresizer-plugin)
> 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:
```bash
composer require dieterholvoet/oc-imageresizer-plugin
```
## License
Distributed under the MIT License. See the [LICENSE](LICENSE.md) file
for more information.