Bagisto Forum

    Bagisto

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

    How can svg validation remove admin dashboard upload image?

    General Discussion
    3
    9
    771
    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.
    • Z
      zainawan99 last edited by

      206dde60-6300-4613-9ffd-0c51feb3c51e-image.png

      1 Reply Last reply Reply Quote 0
      • D
        deepak227 last edited by

        @zainawan99

        please go to the path packages\Webkul\Admin\src\Config\system.php check the line number 124 and update the mime type you want to add.

        'validation' => 'mimes:bmp,jpeg,jpg,png,webp',

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zainawan99 @deepak227 last edited by

          @deepak227 i m change this file but the same issue face

          1 Reply Last reply Reply Quote 0
          • V
            Vaishali Agarwal last edited by

            @zainawan99
            run the below command then check again

            composer dump-autoload
            
            php artisan config:cache
            
            Z 1 Reply Last reply Reply Quote 0
            • Z
              zainawan99 @Vaishali Agarwal last edited by

              @Vaishali-Agarwal said in How can svg validation remove admin dashboard upload image?:

              php artisan config:cache

              not resolved?

              1 Reply Last reply Reply Quote 0
              • D
                deepak227 last edited by

                @zainawan99
                can you send me what you have override in place of 'validation' => 'mimes:bmp,jpeg,jpg,png,webp', ?

                1 Reply Last reply Reply Quote 0
                • D
                  deepak227 last edited by

                  or give share us screen shot for that also

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zainawan99 @deepak227 last edited by

                    @deepak227
                    8f2ad504-6952-4617-afad-1ca4e140d47b-image.png
                    a0d926fe-e8b8-4fd1-896f-bc787787d546-image.png

                    1 Reply Last reply Reply Quote 0
                    • D
                      deepak227 last edited by

                      please run php artisan config:cache and php artisan cache:clear and php aritisan route:cache

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