Little changes to make thumb
This commit is contained in:
@@ -175,6 +175,7 @@ return [
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
|
||||
Intervention\Image\ImageServiceProvider::class,
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -226,6 +227,14 @@ return [
|
||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||
'View' => Illuminate\Support\Facades\View::class,
|
||||
|
||||
'Image' => Intervention\Image\Facades\Image::class,
|
||||
],
|
||||
/*
|
||||
Upload file path
|
||||
*/
|
||||
|
||||
'image' => [ 'dir' => 'upload/images',
|
||||
'thumb_dir' => 'upload/images/thumb',
|
||||
'thumb_width' => 160,
|
||||
'thumb_height' => 120],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user