dcasia / nova-filepond

A Nova field for uploading File, Image and Video using Filepond.
MIT License
49 stars 28 forks source link

Error during load #3

Closed aemaddin closed 5 years ago

aemaddin commented 5 years ago

Laravel 6 Nova 2

after uploading image, can't load the uploaded image from storage.

Post resource code :

 public function fields(Request $request)
    {
        return [
            ID::make()->sortable(),

            Filepond::make('image')
                ->disk('public', 'posts')
                ->rules('required'),

            Text::make('title')
                ->rules('required'),

            Trix::make('description'),
        ];
    }

error screenshot

Screen Shot 2019-10-06 at 2 05 46 PM

Laravel error log

laravel-2019-10-06.log

milewski commented 5 years ago

That's due the second argument of disk method ->disk('public', "PATH"), let me fix it...

milewski commented 5 years ago

Fixed on version v0.2.3