ebess / advanced-nova-media-library

A Laravel Nova field for displaying, creating, updating and ordering a Spatie Media Library model.
596 stars 297 forks source link

Why in edit resource mode have no access to delete image / edit properties / cropper functionality ? #450

Open sergeynilov opened 3 days ago

sergeynilov commented 3 days ago

In Laravel 10 / nova 4.27 app I added "ebess/advanced-nova-media-library": "^4.2", and using images properties:

                Tab::make(__('Images'), [
                    Images::make('Product image', 'product') // second parameter is the media collection name
                    ->conversionOnIndexView('thumb') // conversion used to display the image
                    ->conversionOnDetailView('thumb')
                        ->conversionOnForm('thumb')
                        ->withResponsiveImages()
                        ->croppable(true)->croppingConfigs(['aspectRatio' => 4 / 3])
                        ->rules('required', 'size:3')
                        ->showStatistics(),
                ]), // Images Tab

In create mode I have all operations accessible in images :

https://prnt.sc/YAqhhIDEwlZY

But in edit mode :

https://prnt.sc/h3SbE7A7WJLS

I have no access to delete image / edit properties / cropper functionality.

I would like to have these tools also/

Can I do it ?