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 paths #23

Closed
glupeksha opened this issue Oct 14, 2018 · 4 comments
Closed

Image paths #23

glupeksha opened this issue Oct 14, 2018 · 4 comments

Comments

@glupeksha
Copy link

I configured vanilo in my project. But when I add product images, it saved as "http://localhost/storage/5/conversions/sdf-thumbnail.jpg" which has being saved correctly, but cannot access because it missing port details. correct form should be http://localhost:8000/storage/5/conversions/sdf-thumbnail.jpg

@glupeksha
Copy link
Author

is it a issue with spatie? Guess the problem is with $media->getUrl()

@glupeksha
Copy link
Author

Sorry I found the issue. It was about APP_URL in .env file

@InstantProgramming
Copy link

capture1
capture2
capture3
Same issue here, the APP_URL looks good, even in production i have same issue.

@fulopattila122
Copy link
Member

fulopattila122 commented Nov 20, 2018

You have to run php artisan storage:link
https://laravel.com/docs/5.7/filesystem#configuration

Update: #27

@Romik90 Romik90 mentioned this issue Aug 26, 2019
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

3 participants