jasis/image-resizer
| Install | |
|---|---|
composer require jasis/image-resizer |
|
| Latest Version: | v1.1.1 |
| License: | MIT |
| Last Updated: | Dec 16, 2015 |
| Links: | GitHub · Packagist |
Synopsis
PHP 5 image integration for laravel. makes automatically overwrites the image so you do not have to specify its new location.
Code Example
First use the imageResizer class in your controller
use jilsonasis\ImageResizer\Facade as ImageResizer;
Then you can use method chaining.
$image_path = 'your_image_path';
$image_ext = 'your_image_extension'; // can only process jpg and png.
ImageResizer::src($image_path, $image_ext)->maxHeight(640)->maxWidth(800)->quality(80)->save();
Installation
No installation yet. I will change this when it is available
License
This laravel package is free. You can use and modify the code as you want without the author's permission
Related Packages
Dynamically resize an image and returns the URL using Intervention and Storage
A forked Laravel 4 to 11. package to aid generating automatically resized images...
Version History
| Version | Released | License |
|---|---|---|
| v1.1.1 | MIT | |
| v1.1 | MIT | |
| v1.0 | MIT |