The /file/filter robot allows you to decline files that are smaller than a certain file size. To run this demo, select an image that is smaller than 1KB, and then one that is bigger than 1KB. » See full documentation
"steps": {
"files": {
"robot": "/file/filter",
"accepts": [
["${file.size}", ">=", "1024"]
],
"result": true
}
}
$(function() {
$('form').transloadit({
wait: true,
autoSubmit: true
});
});
For demos we allow a maximum of 30MB.
This form is html5-multiupload enabled. If your browser supports it, you can select multiple files and execute the template with them.