Broken Image & Logo in Bagisto with causes and solutions?
NGS last edited by
I cant add my own logo instead of velocity logo. I have added an image from the admin panel but it is always shown as a broken image.
I have removed/linked/unlinked few times the public storage changed the .env and cached and still no success. I am in dev env and and i have APP_URL=http://127.0.0.1:8000/
does the logo visible on the frontend?
ricky641 last edited by
This post is deleted!
olumide last edited by
the logo not visible on frontend and inside the admin dashboard after it saves. Also encountering the same issue. cleared cache, config, linked and unlinked... but it's still the same.
may i know your APP_URL set inside .env
adapala.vr last edited by adapala.vr
Here i am facing the problem images are not loading
By adding custom module at composer.json
Images are not loading
If i remove that module it's working
Please provide the solution
while adding package are you using php artisan vendor:publish --force command ?
parasbhadauria63 last edited by parasbhadauria63
Front end fetching the file from an irrelevant location: bagisto-new/public/storage/category/3/QkG71HJwsYVFEmkM8IwBkovmQxIli9kIu2jl86DS.jpg
Actual File Location after uploading: bagisto-new\storage\app\public\category\3\QkG71HJwsYVFEmkM8IwBkovmQxIli9kIu2jl86DS.jpg
This is the reason resulting in Broken Image & Logo in Bagisto while creating the category.
Please help me out how this can be corrected.
Vaishali Agarwal last edited by Vaishali Agarwal
You just need to run the storage link command from the root directory
php artisan storage:link
parasbhadauria63 last edited by
I got it.
Gustavo Ayala last edited by
Hi, I had the same issue. I'm developing on my local machine with Laragon, and have Bagisto on a folder in the
/htdocs/bagisto-themebut with a vhost i access with
bagisto-theme.test. So i tried every option given. But the problem was that in the ".env" file
https://and i was serving with
http://(without 's'), so i changed that (updated to
http://bagisto-theme.test) and go through the solutions (remove public/storage; config:cache; storage:link) and it worked.