composer require darksandr/orchid-images
$images = \Orchid\Attachment\Models\Attachment::find(1);
\DarKsandr\Images\Image::make($images);
\DarKsandr\Images\Image::resize('custom_name')->save($images);
/*
|--------------------------------------------------------------------------
| Resizes
|--------------------------------------------------------------------------
|
| If empty width and height - no resize
|
*/
'resizes' => [
'custom_name' => [
['width' => 800, 'height' => null, 'name' => 'pc', 'media' => 'max-width: 799px'],
['width' => 300, 'height' => null, 'name' => 'mobile', 'media' => 'min-width: 800px'],
],
],