Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I attempt to upload a new header image to my wordpress installation my browser's work is acknowledged with a cryptic "Image could not be processed. Please go back and try again." The upload does succeed: wp-content/uploads/.../header.jpg exists as it should.

There are no error messages in /var/log/messages--which php is configured to log errors to--nor in nginx's error log. This setup was previously discussed here.

My setup:

  • Wordpress 3.0.4
  • Twenty Ten 1.1
  • nginx 0.8.54
  • php-fpm 5.3.5 (fpm-fcgi)
  • Arch Linux
share|improve this question

1 Answer 1

up vote 1 down vote accepted

You might not have the gd library installed and enabled in php. I'm not much of an Linux guy, but I did this to get it installed on my setup:

yum install php-gd

Here's some more about it: http://ubuntuforums.org/showthread.php?t=506801

Don't forget to restart httpd after installing gd.

share|improve this answer

Your Answer

 
discard

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.