1. Go to this page and download the library: Download drh2so4/thumbnail library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sh
php artisan vendor:publish --tag=thumbnail-config
sh
$solo_image = [
'storage' => 'solo',
'width' => '600',
'height' => '300',
'quality' => '70',
];
$image->uploadImage('image', $solo_image); // Second Parameter is not necessary if default settings is to be applied
// OR
$image->uploadImage('image'); // Image Upload with default setting
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.