Bagisto Forum

    Bagisto

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

    Broken images (backend/frontend)

    General Discussion
    2
    4
    122
    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

      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

        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 Reply Quote 0
        • S
          senchan @Rishabh-Webkul last edited by

          @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

            Hello @senchan

            That's Great, Keep Exploring

            Thanks & regards

            1 Reply Last reply Reply Quote 0
            • First post
              Last post