UniSharp/laravel-filemanager

Larave File Manager version 2.6.4 does not support .gif files

daktaritech opened this issue · 3 comments

Laravel file manager does not support .gif files for versions 2.6>

Screenshot 2024-02-26 101135
Screenshot 2024-02-26 101147

  • Operating system : Windows 11 Home 22H2, BUILD: 22621.3085
  • Laravel version :^9.19
  • Package version : 2.6.4
  • Steps to reproduce your issue : Upload a new gif file on laravel file manager
  • Screenshots of browser console :

Screenshot 2024-02-26 101553

Gotta change this in your config settings my friend. By default it doesn't but you can allow it to

Here is the related document, by configuring valid_mime, you can customize what types of file can be uploaded. You can also see this mime type list to find out the corresponding values to fill in.

i added:
Screenshot 2024-02-28 141016
in both image and folder_categories, ran
php artisan cache:clear
php artisan config:clear

now it works fine! Thanks.