F
Filamentβ€’16mo ago
onursahindur

FileUpload disable listing for large amount of files

Hello guys, Does anyone know is there a way to close listing of a basic FileUpload? I find out that there is a "disablePreview" option but I want to close listing too since I want to load around 200-300 photos in one upload. I am making a image application, I give an option to upload as zip but can I achieve this? Is there a way to show only Like 240 photos selected or smthng? Cheers.
6 Replies
Saade
Saadeβ€’16mo ago
I recommend you to use #media-library-pro
onursahindur
onursahindurOPβ€’16mo ago
Hello thanks for response @saadeguilherme however I know this package, I analyzed very carefully since it is not free, I saw that the upload part is not different than filament. Did I miss something from the docs? Is there another way to achieve upload in #media-library-pro ?
Shaung Bhone
Shaung Bhoneβ€’16mo ago
I think it has free version.
onursahindur
onursahindurOPβ€’16mo ago
Yes, I know πŸ™‚ The question is not that actually. Even if the free version or pro version, both are using the same FileUpload as Filament does. So nothing will change if I use media library when uploading certain amount of photos directly. It locks out web browser after 250-300 photos
Shaung Bhone
Shaung Bhoneβ€’16mo ago
Who uploads that amount of photos?
awcodes
awcodesβ€’16mo ago
It is impractical to upload that many individual files. I recommend a custom implementation that only allows uploading a zip, and using the saveUploadedFilesUsing() method to process the zip and the files to save them.
Want results from more Discord servers?
Add your server