Skip to content
Discussion options

You must be logged in to vote

When rendering media via Blade tags, toHtml on the Media model will be executed, and one of these views will be rendered.

You can customise the output by publishing the view of this package to your project and modifying them there.

php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="views"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by freekmurze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants