“There has been an error cropping your image.” solution

I encountered this “There has been an error cropping your image.” error in WordPress when I tried to crop an image for theme header.

The solution is surprisingly easy.

sudo apt-get install php5-gd

This will install the PHP GD library for image processing.

Update: You may need to restart apache server for it to come into effect.

Source: https://wordpress.org/support/topic/image-issues-cropping#post-6230879

13 Replies to ““There has been an error cropping your image.” solution”

  1. hello im kind of a noob at this. im getting this error and i have no idea what any of you are talking about or how to change it

    1. the solution applies for those who host their own website on dedicated / cloud server with direct access to shell. If you don’t know about any of these, approach your service provider as you are probably using a shared hosting.

Leave a Reply