Hello,
Can I set default view to be grid/list instead of thumbnails?
I did not see in documentation any mention of this...
Thanks
Add below codes in resources/views/vendor/laravel-filemanager/script.blade.php :
$(document).ready(function () {
$('#thumbnail-display').click();
});
Worked like a charm! Thanks so much for the quick answer! :)
You are welcome!
For a slightly cleaner solution please check out my PR. You can set the preferred view type to load for the file and image manager from the configuration file.
i dont have the file script.blade.php ("unisharp/laravel-filemanager": "^2.1")
how can i do that? sorry by my english
I think you are about 4 years too late :)
The issue was for a far earlier release.