D
Size: a a a
D
Gt
AH
AH
D
AH
S
$file = $request->file('filepond');Ошибка: Command (HashName) is not available for driver (Gd).
$img = Image::make($file);
$img->resize(300, 300);
$path = Storage::disk('disk')
->putFile('users/' . $user->id, $img->encode('jpg', 100), 'private');
D
D
AH
AH
$file = $request->file('filepond');Ошибка: Command (HashName) is not available for driver (Gd).
$img = Image::make($file);
$img->resize(300, 300);
$path = Storage::disk('disk')
->putFile('users/' . $user->id, $img->encode('jpg', 100), 'private');
S
Gt
MM
AH
AH
$file = $request->file('filepond');Ошибка: Command (HashName) is not available for driver (Gd).
$img = Image::make($file);
$img->resize(300, 300);
$path = Storage::disk('disk')
->putFile('users/' . $user->id, $img->encode('jpg', 100), 'private');
$path = public_path('storage/users/' . $user->id . '.jpg')
Image::make(
$request->file('filepond')
)
->resize(300, 300)
->save($path, 95);
S
$path = public_path('storage/users/' . $user->id . '.jpg')
Image::make(
$request->file('filepond')
)
->resize(300, 300)
->save($path, 95);