WordPress prompts the solution of “an error occurred while clipping your image.”

When using crop images in WordPress, it’s “There’s a problem with cropping your images”, or “There has been an error swagging your image”.
The reason:
The PHP GD library is missing
Run under Ubuntu:
sudo apt-get install php5-gd
Sudo apt – get the install php7.0 – gd
Run under CentOS:
yum install php-gd
Just restart Apache or Nginx after installation

Read More: