• Resolved suojahila

    (@suojahila)


    HI,

    I did not found where to change max upload file size for images that are uploaded VIA post forms “Post Body” “insert photo” button. I can change the size for “featured image” and “image Upload” -buttons easily but where to change this max limit?

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Thread Starter suojahila

    (@suojahila)

    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,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Max image size 1024 when uploading from user frontend’ is closed to new replies.