ebess / advanced-nova-media-library

A Laravel Nova field for displaying, creating, updating and ordering a Spatie Media Library model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add new media button does not working. On click does nothing

didix16 opened this issue · comments

Hi, I just uploaded Nova to v4 and the image package to v4.0.3 but I have problems with "Add new media button". If I click then it does nothing (neither in javascript console )and also the button appears shrinked.

imagen

This is my field definition:

Images::make(__('Venue Images'), 'venue_images') // second parameter is the media collection name
            ->conversionOnDetailView('thumb') // conversion used on the model's view
            ->conversionOnIndexView('thumb') // conversion used to display the image on the model's index page
            ->conversionOnForm('thumb') // conversion used to display the image on the model's form
            ->setMaxFileSize(3 * 1024 * 1024) // set max file size to 3MiB
            ->fullSize() // full size column
            ->showOnIndex(false)
            ->customHeaders([
                    "ACL" => "public-read"
            ])
            // validation rules for the collection of images
            ->singleImageRules('dimensions:min_width=100'),

Any ideas? Thanks

EDIT:

In Firefox click does not working.
In Google Chrome, open the dialog but when I choose a File it freezes indefinetly...