• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Broken images (backend/frontend)

General Discussion
2
4
127
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    senchan last edited by senchan 18 Oct 2024, 06:41 18 Oct 2024, 06:32

    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 set app_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.png

    Sample product images are shown https://i.imgur.com/dPYXJ6w.png

    What should I do to fix this issue? Thanks for help.

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 18 Oct 2024, 09:42

      Hello @senchan

      Kindly let us know your APP_URL in .env file also share the image to check the issue.

      Thanks & Regards

      S 1 Reply Last reply 24 Oct 2024, 06:03 Reply Quote 0
      • S
        senchan @Rishabh-Webkul last edited by 24 Oct 2024, 06:03

        @Rishabh-Webkul The app_url is my root domain. I tried this command line php artisan storage:link and it worked for me.

        1 Reply Last reply Reply Quote 0
        • Rishabh-Webkul
          Rishabh-Webkul last edited by 24 Oct 2024, 06:05

          Hello @senchan

          That's Great, Keep Exploring

          Thanks & regards

          1 Reply Last reply Reply Quote 0
          3 out of 4
          • First post
            3/4
            Last post