Hello @suojahila,
You’ll need to increase it from the JS file. Please find the max_file_size on the /wp-user-frontend/assets/js/frontend-form.js file. It could be on like 716 or else.
Thanks
Thanks Mehedi! I tried this but it did not help. Line was:
max_file_size: ‘2mb’,
I changed it to max_file_size: ‘5mb’,
(I was wrong limit was 2mb, not 1mb like I said first).
Still limit is 2mb, I can upload 1.9mb picture but not 2.1mb picture. I disabled server cache and tried different browser etc. Could there be some other code I need to change?
Hello @suojahila,
You can follow all those methods. If it doesn’t help, feel free to contact our support center. Our team will help you out 🙂
Thanks
@suojahila
The best/easiest solution is to use this plugin. It works perfectly.
https://wordpress.org/plugins/upload-max-file-size/
Here’s a quick overview of the info once in the plugin’ option:
(Example: 262144000 bytes ) or (Example: 262144000 )(Only enter the numeric value in bytes)
1024000 bytes=1MB(calculate the Bytes into Mb Example: 1024000 * n MB= n Bytes)(n= no of value )
1024000*250MB=262144000 bytes
(You can Increase Upload file size 250MB or more .So Enter the bytes value how much you want..
Regards,