Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image is not viewing #17

Open
jusyjk opened this issue Oct 12, 2018 · 7 comments
Open

Image is not viewing #17

jusyjk opened this issue Oct 12, 2018 · 7 comments

Comments

@jusyjk
Copy link

jusyjk commented Oct 12, 2018

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

@fengshengxie
Copy link

php artisan storage:link

@vonsogt
Copy link

vonsogt commented Jul 25, 2019

php artisan storage:link

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

@jusyjk
Copy link
Author

jusyjk commented Jul 26, 2019

Ok let me try and update you tnx

@azinkey
Copy link

azinkey commented Nov 14, 2019

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

@vonsogt
Copy link

vonsogt commented Nov 14, 2019

after run storage:link command the url generate is wrong
http://localhost/storage/banners/Fairtexavailbale1500x657.png
instead
http://localhost/<project_folder>/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
Copy link

azinkey commented Nov 14, 2019

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

@schel4ok
Copy link

schel4ok commented Dec 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants