• “There has been an error cropping your image”

    I was getting this message when attempting to crop the header image for several themes I was evaluating.

    It turns out that I was attempting crop the images in the “Live Preview” of the theme. Once I activated the theme I was then able to crop the header images with no problems.

Viewing 5 replies - 1 through 5 (of 5 total)
  • This worked for me! I had been reading all kinds of solutions which dealt with changing code but since I am computer-illiterate I didn’t want to try those solutions. Who knew it could be so simple. Thanks!

    Make sure you have PHP_GD installed and enabled. I just ran into that this morning

    Thanks — helped me out! sudo apt-get install php5-gd

    I ran into this issue this morning on my local site, I’m using Ampps so activating PHP –> Php Extension –> gd.so did the trick.

    Cheers guys!

    Hi, I’m making this post for anyone who might have the same problems as me in the future. I compile most of my web server from source. When i encountered the error I recompiled my php (7) with --with-gd. However, when inspecting phptest page i noticed that jpeg support was missing, only png was supported. Next I recompiled php with --with-jpeg-dir=/usr/lib64 --with-gd options hoping for the problem to be gone but to my surprise it was still there. After couple of days trial and error I did make clean and the problem was finally sorted!

    TL;DR
    If compiling php from source try make clean beforehand.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"There has been an error cropping your image" – possible fix’ is closed to new replies.