Title: Max Image Upload
Last modified: August 21, 2016

---

# Max Image Upload

 *  Resolved [BARTNKCMO](https://wordpress.org/support/users/bartnkcmo/)
 * (@bartnkcmo)
 * [12 years ago](https://wordpress.org/support/topic/max-image-upload/)
 * 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](https://wordpress.org/support/users/silkalns/)
 * (@silkalns)
 * [12 years ago](https://wordpress.org/support/topic/max-image-upload/#post-4973357)
 * 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](https://wordpress.org/support/users/bartnkcmo/)
 * (@bartnkcmo)
 * [12 years ago](https://wordpress.org/support/topic/max-image-upload/#post-4973383)
 * 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
 *  [http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/](http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/)
 *  Theme Author [Silkalns](https://wordpress.org/support/users/silkalns/)
 * (@silkalns)
 * [12 years ago](https://wordpress.org/support/topic/max-image-upload/#post-4973465)
 * 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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sparkling/2.4.11/screenshot.png)
 * Sparkling
 * [Support Threads](https://wordpress.org/support/theme/sparkling/)
 * [Active Topics](https://wordpress.org/support/theme/sparkling/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sparkling/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sparkling/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Silkalns](https://wordpress.org/support/users/silkalns/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/max-image-upload/#post-4973465)
 * Status: resolved