Little changes to make thumb

This commit is contained in:
2021-09-21 20:39:55 +02:00
parent 714327b236
commit 9fa0c888ca
10 changed files with 193 additions and 6 deletions

View File

@@ -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],
];