Bagisto Forum

    Bagisto

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

    Product image is not shown in front.

    Bug Report
    6
    24
    2007
    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.
    • admin
      admin last edited by

      Hi @riteshlinge
      Is the APP_URL set in your .env file?

      1 Reply Last reply Reply Quote 0
      • R
        riteshlinge last edited by

        Yes it is APP_URL=http://localhost:8000 and I also try with public but its not working.

        1 Reply Last reply Reply Quote 0
        • admin
          admin last edited by

          @riteshlinge said in Product image is not shown in front.:

          http://localhost:8000
          @riteshlinge
          APP_URL should be like : APP_URL=http://localhost/bagisto/public/

          1 Reply Last reply Reply Quote 0
          • admin
            admin last edited by

            @riteshlinge
            If still, you are getting the same issue. then please run this command : php artisan storage:link

            1 Reply Last reply Reply Quote 0
            • R
              riteshlinge last edited by

              Yes I still get error. I follow both solution which you suggest.

              1 Reply Last reply Reply Quote 0
              • admin
                admin last edited by

                @riteshlinge
                Please unlink the storage first.
                Then run this command in the project root directory. for link storage again
                php artisan storage:link

                R 1 Reply Last reply Reply Quote 0
                • R
                  riteshlinge @admin last edited by

                  @admin what is unlink command?

                  1 Reply Last reply Reply Quote 0
                  • admin
                    admin last edited by

                    Run this command inside the public folder
                    unlink:storage

                    1 Reply Last reply Reply Quote 0
                    • R
                      riteshlinge last edited by

                      PS D:\xampp\htdocs\LaravelProjects\bagisto\public> php artisan unlink:storage
                      Could not open input file: artisange

                      1 Reply Last reply Reply Quote 0
                      • R
                        riteshlinge last edited by

                        D:\xampp\htdocs\LaravelProjects\bagisto\public> unlink storage
                        unlink : The term 'unlink' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
                        the spelling of the name, or if a path was included, verify that the path is correct and try again.
                        At line:1 char:1

                        • unlink storage
                        •   + CategoryInfo          : ObjectNotFound: (unlink:String) [], CommandNotFoundException
                            + FullyQualifiedErrorId : CommandNotFoundException
                        1 Reply Last reply Reply Quote 0
                        • admin
                          admin last edited by

                          Hi There
                          Remove the storage folder from public/storage.
                          Then run this command: php artisan storage:link

                          1 Reply Last reply Reply Quote 0
                          • R
                            riteshlinge last edited by

                            when i am in root and run the command the error is
                            D:\xampp\htdocs\LaravelProjects\bagisto\public> php artisan storage:link
                            Could not open input file: artisan

                            1 Reply Last reply Reply Quote 0
                            • admin
                              admin last edited by

                              please run the command in your root directory.

                              1 Reply Last reply Reply Quote 0
                              • R
                                riteshlinge last edited by

                                D:\xampp\htdocs\LaravelProjects\bagisto> here?

                                1 Reply Last reply Reply Quote 0
                                • admin
                                  admin last edited by

                                  Yes, But remove the storage folder from public/storage.
                                  then run the command in the root directory [D:\xampp\htdocs\LaravelProjects\bagisto>php artisan storage:link ]

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    riteshlinge last edited by

                                    Still product image is not show.

                                    1 Reply Last reply Reply Quote 0
                                    • admin
                                      admin last edited by

                                      Please run: php artisan vendor:publish --force for the product service provider only

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        riteshlinge last edited by

                                        ohh Its working...
                                        Thank You so much

                                        1 Reply Last reply Reply Quote 0
                                        • admin
                                          admin last edited by

                                          Hi There,

                                          Thanks for the update.

                                          Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com

                                          That would be grateful for us.

                                          Thanks & Regards,

                                          Bagisto Team

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            beauty123 last edited by

                                            But still not showing product images9.png

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