vanilophp/demo

image not showing in shop

Closed this issue · 9 comments

i tried to upload image via admin panel but it is not showing in shop

Please check #17 - it's likely the same problem.
Feel free to reopen the issue if it's not your case.

can you tell me what changes are to be done in APP_URL

I tried to change but nothing happened

Put the base url of your application there
https://webdevetc.com/programming-tricks/laravel/general-laravel/why-should-you-update-app-url-from-from-http-localhost

Also did you run artisan storage:link ?

I try to help but you need to provide more Information.

I tried to change but nothing happened

Put the base url of your application there
https://webdevetc.com/programming-tricks/laravel/general-laravel/why-should-you-update-app-url-from-from-http-localhost

Also did you run artisan storage:link
i run this command and also but the base url of application
i am running on localhost

Please read thoroughly the linked issue, especially this comment:
#17 (comment)

Please put your answers here to the questions from that comment.

Please also note that your issue is not specific to this project but basic Laravel configuration.
Even then, I'm happy to help if you're giving me relevant Information and not wanting me to figure out all the details you should've provided: https://stackoverflow.com/help/how-to-ask

i tried to run the command php artisan storage:link.nothing happened
i also try to chcange the app_url for www.localhost to http://localhost/{E-mandi}/public/images but same error is occuring

APP_URL is either http://localhost or http://localhost:8000 or http://127.0.0.1:8000.
Also, the question I've mentioned was that what is the exact HTTP error 404 or 403 you get in the browser for pictures?

As far as I see you need to learn a bit more about the basics of web development. Especially: what is a URL what are local and remote hostnames, how does DNS work and what are web paths. Laravel is not a complex framework but you need to have a basic understanding of these concepts in order to make it work.

I appreciate for ur help
I was doing as it was suggested in this https://laracasts.com/discuss/channels/laravel/app-url?page=0
that why i was entering full path