I've successfully uploaded an image like this:
Storage::put($path,$request->file($name));
But how could I acces this right now? The file is in storage/app/employees/3/profile.
When I go to .dev/storage/app/employees/3/profile/image.png
the route is not found.
您的图像路径将是
<img src="{{storage_path('app/employees/3/profile/image.png')}}">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.