Skip to content

Reiszing images library using laravel

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.md
Notifications You must be signed in to change notification settings

hussein4alaa/laravel-image-resizing

Repository files navigation

Laravel Image Resizing

You can change the image size while uploading

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require g4t/laravel-image-resizing
now publish ImageResizing.php using this command:
$ php artisan vendor:publish --provider=g4t\ImageResizing\ImageResizingServiceProvider

Usage

in folder `config` You will find `ImageResizing.php`
you will find some examples there
you can define:
Image `height`
Image `width`
`path` to save images
`save_orginal` to save orginal image or not
`full_url` to return full url or not
`base_url` to use with `full_url`

Use in Controller

use g4t\ImageResizing\Upload;
.
.
.
return Upload::file($request->image, 'small');

small in our example can find it in ImageResizing.php

License

MIT. Please see the license file for more information.

About

Reiszing images library using laravel

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.md

Stars

Watchers

Forks

Packages

 
 
 

Languages