WordPress “error clipping your image” solution

Question.

When using the crop image feature in WordPress, an error occurs: “An error occurred while cropping your image” or “There has been an error cropping your image. ”

Cause.

Missing PHP GD library

Ubuntu run:

sudo apt-get install php5-gd

or

sudo apt-get install php7.0-gd

CentOS run:

yum install php-gd

Restart Apache or Nginx after installation

Similar Posts: