Tag archive for : image size in wordpress

How to Increase WordPress’ File Upload Size

This all started when I was switching from belkiscruz.wordpress.com to my very own subdomain,blog.belkis-cruz.com. When I imported my old blog from WordPress.com, I noticed that not all the images imported because some of them were a bit larger than the limit size. Very frustrating because it went over the limit by .1 mb! So I set out on a mission to increase the limit. It took almost a whole night and part of my morning. Yikes! But, when I am determined to make something happen, I WILL MAKE IT HAPPEN. So after all the research I did, and got no where and than finally I got it to work. I wanted to help out and put all in one place to make it easier for you.  I have successfully increased the file size limit from 2MB to 10MB. (My preference, but you can change it to whatever you’d like.) Before I start, this is a post for those of us who have our own domain and hosing set up and have installed WordPress. Also this is for MAC Users, but I am sure this can also apply to Windows users as well.

1. Download TextWrangler from http://www.barebones.com/products/textwrangler/

2. The following text needs to be typed in TextWrangler:

memory_limit = 10M
upload_max_filesize = 10M
post_max_size = 10M
file_uploads = On

*Remember you can change the limits to whatever you’d like.I wouldn’t recommend going higher than 10, but it’s your choice.

3. When you are in TextWrangler go to:

  • File
  • Save As
  • Name the file php.ini
  • make sure it that Line Breaks is set to Unix (LF) and Encoding is set to Unicode (UTF-8)
  • Save it to your desktop or where ever is easiest for you to access.

4. You will than open up your WordPress Admin Directory

5. Drag the saved file PHP.INI and drop in the WORDPRESS ADMIN FOLDER

And it’s done.
Make sure the your hosting provider has also increased your limits, so that it can all work smoothly.

 

 

 

Filled Under : Information