Open jusyjk opened 6 years ago
php artisan storage:link
php artisan storage:link
if not working try to remove storage shortcut at folder public/ then do php artisan storage:link
Ok let me try and update you tnx
after run storage:link command the url generate is wrong
http://localhost/storage/banners/Fairtexavailbale1500x657.png
instead
http://localhost/
after run storage:link command the url generate is wrong http://localhost/storage/banners/Fairtexavailbale1500x657.png instead http://localhost/
/public/storage/banners/Fairtexavailbale1500x657.png
Mine is working as well, the generated link is like this: http://localhost:8001/storage/images/name.png
Please, could you tell me your controller code?
Thanks for you quick reply after set full url to my .env file its resolved APP_URL=http://localhost/laravel/public
For me is not working. Instead picture thumb I also see alt text "Attachment".
In chrome dev panel I see img path like that <img src="/bts-75v.jpg" alt="Attachment">
But when I try to download img from media manager to laptop I can see that picture itself is OK.
I have these disk settings.
'driver' => 'local',
'root' => storage_path('app'),
'url' => '',
php artisan storage:link also not helping me
Image path is taking wrongly