• Resolved BARTNKCMO

    (@bartnkcmo)


    I was told to speak with you by the author of one of the plugins I use on my site about where to add the code to to increase the maximum upload limit for images. He stated it might be in the functions section but upon looking at it I do not find anything in the coding that will let me set the increase.

    My hosting company has told me to set a new php.ini file and upon doing this no such luck.

    Any help would be greatly appreciated

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Silkalns

    (@silkalns)

    This has nothing to do with theme.

    Your hosting company was right and you should create a new php.ini file or edit existing one.

    Values that you need to tweak in that file are

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    Change them to get the result you were looking for.

    Like I said, this has nothing to do with theme.

    Thread Starter BARTNKCMO

    (@bartnkcmo)

    Thank you for the quick response. So far no such luck but will keep plugging along.

    I put the new php.ini into the root . I did find this reference and this is why I had asked since there seems to be several ways to fix this issue

    https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/

    Theme Author Silkalns

    (@silkalns)

    There are several methods but the best one is via php.ini which is more powerful than the rest of the options since it is first taken into consideration.

    If this method is not for you then you might look into other option to see if they work better.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Max Image Upload’ is closed to new replies.