File and Photo field types are for file uploads. There are a few settings you can change:
- Validation Max size in MB (default 2 MB)
- Validation For Photo files: max width/height (default 4096x4096)
- Checkbox Multiple files (that changes the whole mechanism of uploading which turns into AJAX)
Notice: when uploading multiple files, we use Spatie Media Library package to store files. By default, it stores the files into a public
disk (from config/filesystems.php
file), so please make sure it is pointing where you want. By default, it stores files in storage/app/public
folder, which requires to run this command to access files: php artisan storage:link
Read more about Public Disk and Filesystems configuration in the official Laravel documentation.