Limite de tamanho do arquivo de upload do JS
// js
$file_size = this.files[0].size / 1024 / 1024;
Smiling Starling
// js
$file_size = this.files[0].size / 1024 / 1024;