Spatie media library plugin - how to set media name
In filamentphp/spatie-laravel-media-library-plugin I can not find a way to set up/change the name - I mean the column "name" not the filename. (the column "name" in the media record in the database).
I need it for SEO to put in the alt=
3 Replies
anybody?
Hi, see the customProperties method for that : https://filamentphp.com/plugins/filament-spatie-media-library#adding-custom-properties
Filament
Spatie Media Library by Filament - Filament
Filament support for Spatie's Laravel Media Library package.
However custom properties is a different thing and it can not be used to put anything in the "name" column it essentially could be used for this purpose.
Now how can I add a field for the panel user to actually put some name in it? This field should be attached to its picture.
looks like this quite obvious feature does not exist. Weird...