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

Bagisto

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

Broken Image & Logo in Bagisto with causes and solutions?

Bug Report
24
51
22.3k
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.
  • V
    Vaishali Agarwal last edited by 27 Sept 2020, 07:40

    @nikul
    what error you're facing currently please show..

    N 1 Reply Last reply 29 Sept 2020, 06:16 Reply Quote 1
    • N
      nikul @Vaishali Agarwal last edited by 29 Sept 2020, 06:16

      @Vaishali-Agarwal ![alt text](image url)Untitled.png
      logo not showing up for both shop and admin

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by 29 Sept 2020, 14:25

        @nikul
        please go to the .env and check that app_url should be valid.
        once this is done then run the below commands from the project root directory:

        php artisan config:cache
        php artisan storage:link

        1 Reply Last reply Reply Quote 0
        • N
          nikul last edited by 5 Oct 2020, 04:37

          Thank you @Vaishali-Agarwal it working now

          1 Reply Last reply Reply Quote 0
          • 23 days later
          • K
            khurram474 last edited by 28 Oct 2020, 06:46

            @Vaishali-Agarwal i am facing this problem when running your last commands
            symlink(): No such file or directory

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by Vaishali Agarwal 28 Oct 2020, 06:52 28 Oct 2020, 06:52

              @khurram474

              run the below command from the root directory:

              cd public
              rm storage
              After removing the symbolic link change directory to the main folder using:

              cd ..

              Now create the symbolic link with the following command:

              php artisan storage:link
              After running the command successfully, you should get the following message

              The [public/storage] directory has been linked.
              I hope this helps you.

              1 Reply Last reply Reply Quote 1
              • N
                NGS last edited by 28 Oct 2020, 07:49

                Hi,
                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/
                Please, advise

                1 Reply Last reply Reply Quote 0
                • V
                  Vaishali Agarwal last edited by 28 Oct 2020, 16:30

                  @NGS
                  does the logo visible on the frontend?

                  1 Reply Last reply Reply Quote 0
                  • 15 days later
                  • R
                    ricky641 last edited by 12 Nov 2020, 08:40

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • O
                      olumide last edited by 17 Nov 2020, 22:47

                      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.Screenshot (323).png Screenshot (322).png

                      1 Reply Last reply Reply Quote 0
                      • V
                        Vaishali Agarwal last edited by 18 Nov 2020, 04:51

                        @olumide
                        may i know your APP_URL set inside .env

                        1 Reply Last reply Reply Quote 0
                        • 12 days later
                        • A
                          adapala.vr last edited by adapala.vr 30 Nov 2020, 12:54 30 Nov 2020, 12:54

                          Here i am facing the problem images are not loading
                          By adding custom module at composer.json
                          "Webkul\Razorpay\": "packages/Webkul/Razorpay/src"
                          Images are not loading
                          If i remove that module it's working
                          Please provide the solution

                          1 Reply Last reply Reply Quote 0
                          • V
                            Vaishali Agarwal last edited by 30 Nov 2020, 14:15

                            @adapala-vr
                            while adding package are you using php artisan vendor:publish --force command ?

                            P 1 Reply Last reply 16 Jan 2021, 18:04 Reply Quote 0
                            • 2 months later
                            • P
                              parasbhadauria63 @Vaishali Agarwal last edited by parasbhadauria63 16 Jan 2021, 18:08 16 Jan 2021, 18:04

                              Hi @Vaishali-Agarwal @rahul @admin

                              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.
                              Thanks

                              1 Reply Last reply Reply Quote 0
                              • V
                                Vaishali Agarwal last edited by Vaishali Agarwal 18 Jan 2021, 07:52 18 Jan 2021, 07:52

                                @parasbhadauria63
                                You just need to run the storage link command from the root directory
                                php artisan storage:link

                                P 1 Reply Last reply 18 Jan 2021, 16:26 Reply Quote 0
                                • P
                                  parasbhadauria63 @Vaishali Agarwal last edited by 18 Jan 2021, 16:26

                                  Hi @Vaishali-Agarwal
                                  I got it.
                                  Thanks ☺

                                  1 Reply Last reply Reply Quote 0
                                  • about a month later
                                  • G
                                    Gustavo Ayala last edited by 3 Mar 2021, 13:27

                                    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-theme but with a vhost i access with bagisto-theme.test. So i tried every option given. But the problem was that in the ".env" file APP_URL= starts with 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.

                                    J 1 Reply Last reply 7 May 2021, 19:44 Reply Quote 0
                                    • 2 months later
                                    • J
                                      Jeff @Gustavo Ayala last edited by 7 May 2021, 19:44

                                      @Gustavo-Ayala : Thanks Sir, That Work for me..

                                      1 Reply Last reply Reply Quote 0
                                      • 7 months later
                                      • H
                                        harshaq last edited by harshaq 8 Dec 2021, 08:01 8 Dec 2021, 08:00

                                        @Vaishali-Agarwal said in Broken Image & Logo in Bagisto with causes and solutions?:

                                        php artisan config:cache
                                        php artisan storage:link

                                        Not working for me!
                                        App url changed also.

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          harshaq last edited by 8 Dec 2021, 08:01

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          34 out of 51
                                          • First post
                                            34/51
                                            Last post