Default View on Table Column Using SpatieMediaLibraryImageColumn
Hello again all,
I am using SpatieMediaLibraryImageColumn in my table. I can successfully see my uploaded images with a help from documentation https://filamentphp.com/docs/2.x/spatie-laravel-media-library-plugin/table-columns
I have a question about how can I show a default view with user's first and last name's first char on table?
I know I can give a default url with ->default() but how can I give a default view?
Can anyone lead me to any source about it?
The table looks like below now, and my resource looks like this.
5 Replies
I want to achive a view like this:
that isnt a feature yet
you can PR it if you want
Oh okey, I will do it.
Then can I ask can I do it via custom view or something else?
Is there any options I can load a custom view for an ImageColumn? (or Column)
you could do it with an ImageColumn and getStateUsing()
you guys amazing. thx.