While working with blueimg fileuploader library: https://blueimp.github.io/jQuery-File-Upload/
If I add jpeg/jpg image with more than 2MB it shows wrong file size. And uploaded file also has the wrong file size.
Is it a bug of the library or i'm missing any configuration?
I have found that filesize is changed after rendering with its template rendering script (https://github.com/blueimp/JavaScript-Templates).
Edit:
Found the solution image resize option need to be disabled.
disableImageResize :true
Though default configuration is true.