Broken images (backend/frontend)
-
Hi, I'm a low-code web builder and installed Bagisto v2.2.3 on Cloudways. I set
/public_html/bagisto/public
as the root of web, but broken images (product images/logo/favicon in backend, collection images in frontend). I setapp_env=production
in.env
and tried those terminal command lines, but nothing works.php artisan config:cache
php artisan optimize:clear
https://i.imgur.com/pr2Ost6.png
https://i.imgur.com/U0hVUnI.pngSample product images are shown https://i.imgur.com/dPYXJ6w.png
What should I do to fix this issue? Thanks for help.
-
Hello @senchan
Kindly let us know your APP_URL in .env file also share the image to check the issue.
Thanks & Regards
-
@Rishabh-Webkul The app_url is my root domain. I tried this command line
php artisan storage:link
and it worked for me. -