laravel-admin-extensions / media-manager

Provides a web interface to manage local files
MIT License
134 stars 66 forks source link

Image is not viewing #17

Open jusyjk opened 6 years ago

jusyjk commented 6 years ago

Image path is taking wrongly screenshot from 2018-10-12 14-56-51

fengshengxie commented 5 years ago

php artisan storage:link

vonsogt commented 5 years ago

php artisan storage:link

if not working try to remove storage shortcut at folder public/ then do php artisan storage:link

jusyjk commented 5 years ago

Ok let me try and update you tnx

azinkey commented 4 years ago

after run storage:link command the url generate is wrong http://localhost/storage/banners/Fairtexavailbale1500x657.png instead http://localhost//public/storage/banners/Fairtexavailbale1500x657.png

vonsogt commented 4 years ago

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?

azinkey commented 4 years ago

Thanks for you quick reply after set full url to my .env file its resolved APP_URL=http://localhost/laravel/public

schel4ok commented 4 years ago

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