classic-o / nova-media-library

Media Library for admin panel "Laravel Nova"
MIT License
157 stars 66 forks source link

Forbidden file format error on all image uploads #67

Closed Farlandercd closed 3 years ago

Farlandercd commented 3 years ago

Describe the bug Getting 'forbidden file format' error when uploading any kind of image.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Nova Media Library tab'
  2. Click on 'Upload'
  3. Upload any image (I tried png and jpg)

Screenshots image

Additional context NGINX and Laravel config are already set to 100mb max file size, furthermore form image uploads on the front end work without problem, likewise does the vanilla Nova Image::make file upload work without problem.

Running Laravel 8 with Laravel Nova v3.23.2 on Laravel Homestead

classic-o commented 3 years ago

Hi. Show me your config file and how to use field

Farlandercd commented 3 years ago

Hi! What config is it you want? I'm not using a manual field, I am attempting to use the page that comes bundled with this extension.

image (/nova/media-library)

classic-o commented 3 years ago

your config file for media library. Stored in config folder of laravel. Did you use install instruction?

classic-o commented 3 years ago

You need to set correct configuration. See install instruction