Support » Fixing WordPress » There has been an error cropping your image

Viewing 7 replies - 16 through 22 (of 22 total)
  • hosaem


    @joevistatech Thank you very much your workaround is all I needed.

    I ran into same issue few months back for my blog and
    after searching for a while found out that it was because GD library for PHP which was not installed on the server

    To find the GD Library package within CentOS repository
    $ sudo yum list available | grep 'gd'

    Identify GD Library package name and install it
    $ sudo yum install php-gd

    Restart apache service
    $ sudo service httpd restart

    Detailed article here

    Hello Guys,

    I am currently facing similar issues and I can see there have been some provided solutions but I have no idea what all these things are. I’d kindly like to know where to install this GD thingy. Do I need to inform my hosting providers or it something I can personally solve.

    Counting on your kind response.

    • This reply was modified 1 year, 11 months ago by summllc.

    @summllc – Hey Summllc, The GD library is a graphics drawing library that provides tools for manipulating image data. If you are not someone who usually runs commands on your server then I would recommend you contact your web hosting technical support and request support for the GD library in PHP.

    Thank you Rohu. Will contact them and notify them about it.

    You saved my arse. I spent all day yesterday trying to fix this and a proportion of today and then came across your post.

    Thank you so much for posting the resolution.

    I installed PHP GD by the following command
    first, you need to root privilege access:
    # sudo su –

    or you can use before the apt-get command this sudo: sudo apt-get install php7.2-gd

    Second, run the command
    # apt-get install php7.2-gd

    Third, restart apache server in ubuntu

    # /etc/init.d/apache2 restart

    After that check-in WordPress admin page crop feature it will be run successfully.

    • This reply was modified 1 year, 3 months ago by ferasragheb.
Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘There has been an error cropping your image’ is closed to new replies.