-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Avatar is not working, showing broken images #1397
Comments
I ran into the same problem. What I had to do was go and delete the symlink in public/storage and make it again and it worked fine I have had to do that a few times. Next time it happens again ill pay more attention to see why it happens. Hope that works for you. |
I had the same problem. I have to change the APP_URL and clear config cache( |
I tried to delete the symlink in public/storage and make it again, change the APP_URL, but it still does not work |
Based on the problem I have, which is similar. I think the issue is on the server config maybe something with file permissions. what are you using to run the laravel project? Vagrant? Docker? Everything installed locally? Maybe try putting it on a server see if you get the same issue. For me it works locally all the time. But after I do a git pull on the server where I host the site it stops working and I have to delete and re link the file. |
@jccpdev, with your issue, do you have the symlink committed to git? linux symlinks are specific to the environment they were created, so you shouldn't have them committed to source control, |
@fletch3555 that is probably my problem, I will try that out tonight. |
APP_URL must point to your real host: @Baumgarten2 = laravel.local for you NOT localhost:8000. I have had the same problem using valet: it point do <project.name>.dev in my case... Hope this is usefull |
@Baumgarten2, I'm assuming your issue was resolved by one of the above comments. If not, please let me know and we can get this reopened. |
try to use |
i have the some problem.changed APP_URL form http://localhost:8888 to http://127.0.0.1:8000 in .env file work for me |
That is basically what our README says, yes. |
I have solved this issue on MAMP server. |
Am having the same problem. am using laravel valet. My url is https://myAppName.app |
I found my solution. I was including '/public' when calling my images. like so instead of; |
It worked for me. |
Description:
I've just installed Voyager. And all images do not work.
Steps To Reproduce:
I updated .env file:
APP_URL=http://localhost:8000 and tried to change APP_URL run this php artisan storage:link but still not working.
The text was updated successfully, but these errors were encountered: