WordPress Image Upload 'Crunching' Not Resizing Images

NOTEI am posting this information here because I just spent 20 mins Googling for the types of phrases in the title and never got a direct answer and hope anyone else that isn’t a PHP/WordPress guru that needs help with this can find it with this post.

I migrated my WordPress sites to a new server recently and noticed when I was using the Image Upload feature for a story, to upload an imagine into my Media Library, during the “Crunching…” phase of the upload, WordPress wasn’t resizing my images at all.

I had run into this problem 1 before years ago on my old host and fixed it — and forgot what the fix was.

Turns out, you need the PHP “GD” module installed. This is the graphics library that WordPress uses to resize the images. From RedHat, Fedora or CentOS installing this is as simple as:

yum install php-gd

I’m sure Debian/Ubuntu has some equally easy command line using apt-get to install that package as well. Once done don’t forget to run:

/etc/init.d/httpd restart

so Apache can reload the new modules. Then you should be all set.

Tags: , , , , , ,

About Riyad Kalla

Software development, video games, writing, reading and anything shiny. I ultimately just want to provide a resource that helps people and if I can't do that, then at least make them laugh.

, , , , , ,

7 Responses to “WordPress Image Upload 'Crunching' Not Resizing Images”

  1. AngryTechnician August 28, 2010 at 4:44 am #

    Thanks for this – I was having the exact same problem on a WordPress install on Windows, and it turns out that while GD was already installed, I needed to uncomment the “extension=php_gd2.dll” line in my PHP.ini

    • Riyad Kalla August 28, 2010 at 10:44 am #

      AngryTechnician, thanks for taking the time to followup with your own findings. It always helps folks searching and finding this via Google.

  2. Mike Kohn February 12, 2011 at 12:31 pm #

    Thank you SO much for posting this! I was just like you and Googled a million different things and wasn’t able to find the right answer until I landed here. +1 for you, good sir.

  3. Matt February 24, 2011 at 6:32 am #

    Thanks very much for this. I have an ubuntu system and in order to get it to work I had to specify php5 in the package name.
    sudo apt-get install php5-gd

    hope this helps :-)

    • Riyad Kalla February 25, 2011 at 10:57 pm #

      Matt, good additional detail, thanks for posting.

  4. hamster September 16, 2011 at 9:44 am #

    thumbs up! some crappy servers around the world got this disabled still eh.. Am glad that google indexed your post :)

Leave a Reply


3 + = 5