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

Bagisto

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

Product image is not shown in front.

Bug Report
6
24
1.9k
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.
  • R
    riteshlinge last edited by 20 Apr 2022, 09:22

    Product image is not show in front. I tried all the solution which is shown in your site but still have problem.

    1 Reply Last reply Reply Quote 0
    • admin
      admin last edited by 20 Apr 2022, 09:42

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

      1 Reply Last reply Reply Quote 0
      • R
        riteshlinge last edited by 20 Apr 2022, 10:11

        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 20 Apr 2022, 10:21

          @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 20 Apr 2022, 10:23

            @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 21 Apr 2022, 07:00

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

              1 Reply Last reply Reply Quote 0
              • admin
                admin last edited by 21 Apr 2022, 07:21

                @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 21 Apr 2022, 09:53 Reply Quote 0
                • R
                  riteshlinge @admin last edited by 21 Apr 2022, 09:53

                  @admin what is unlink command?

                  1 Reply Last reply Reply Quote 0
                  • admin
                    admin last edited by 21 Apr 2022, 09:55

                    Run this command inside the public folder
                    unlink:storage

                    1 Reply Last reply Reply Quote 0
                    • R
                      riteshlinge last edited by 21 Apr 2022, 09:56

                      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 21 Apr 2022, 09:58

                        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 21 Apr 2022, 10:22

                          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 21 Apr 2022, 10:34

                            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 21 Apr 2022, 10:36

                              please run the command in your root directory.

                              1 Reply Last reply Reply Quote 0
                              • R
                                riteshlinge last edited by 21 Apr 2022, 10:38

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

                                1 Reply Last reply Reply Quote 0
                                • admin
                                  admin last edited by 21 Apr 2022, 10:41

                                  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 21 Apr 2022, 10:46

                                    Still product image is not show.

                                    1 Reply Last reply Reply Quote 0
                                    • admin
                                      admin last edited by 21 Apr 2022, 10:55

                                      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 21 Apr 2022, 11:04

                                        ohh Its working...
                                        Thank You so much

                                        1 Reply Last reply Reply Quote 0
                                        • admin
                                          admin last edited by 21 Apr 2022, 11:06

                                          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
                                          4 out of 24
                                          • First post
                                            4/24
                                            Last post