Fixing WordPress image cropping on CentOS

You know the drill. You upload the image, you want a nice crop, but then

There has been an error cropping your image.

Ouch. Fortunately it’s a simple issue with a very easy fix:

yum install php-gd
systemctl restart php-fpm
systemctl restart nginx

Aaand that’s it.

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *