WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I setup WordPress on my own server and it's up and running...one thing that I have noticed is that WordPress doesn't generate any images I upload. Usually when I upload an image through WordPress it will generate a thumbnail, medium, and large sized image. WordPress installed without error and everything else is working fine. I have tried to rebuild the thumbnails, but that doesn't work :-(

Any ideas?


share|improve this question
up vote 6 down vote accepted

I figured it out!

In my php.ini file I had to uncomment extension=php_gd2.dll, then it started working after I rebuilt the images I uploaded :)


share|improve this answer
The need of the gd extension was indeed the problem for me. On my CentOS server I just had to yum install php-gd and service httpd restart though. Thanks for pointing me in the direction! – danijar Sep 29 '15 at 21:55

I solved the issue as well.

With reference to Josh Rodgers' answer, I had to log into my server's CPANEL, under "Software and Services", depending on how your server is set up, there is "Select PHP Version", then tick the "gd" box, save, and refresh your wordpress post or media page, then retry the upload.

If you are looking at your wordpress via FTP, you can refresh your uploads folder and see that the various sizes have appeared, i.e. imagename100x100.jpg, etc, etc.

I hope this helps someone.


share|improve this answer
For WHM users, go to EasyApache > Exhaustive Options > PHP, check GD and rebuild Apache. Source: forums.cpanel.net/threads/how-to-install-php-gd-library.127773 – Clarus Dignus Aug 6 '15 at 0:47

I managed to solve this issue by switching from PHP version 5.5 to version 5.4

share|improve this answer
Can you explain why this worked? – s_ha_dum May 19 '15 at 14:30
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – tfrommen May 19 '15 at 17:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.