Затем я сохраняю файл с
Код: Выделить всё
// ...
$filename = 'signatures/signature_' . auth()->user()->id . '-' . uniqid() . '.' . $image_type;
Storage::disk('public')->put($filename, $image_base64);
Код: Выделить всё
open public/storage/signatures/signature_101-62a876ce68884.png
Код: Выделить всё
http://laravel.test/storage/signatures/signature_101-62a876ce68884.png
Код: Выделить всё
[img]{{ url([/img]
signature->filename) }}">
Код: Выделить всё
rm public/storage
php artisan optimize:clear
php artisan storage:link
Подробнее здесь: https://stackoverflow.com/questions/726 ... -for-image
Мобильная версия