Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image Crop Editor Not working

Tags:

I am having an issue in WordPress admin, where the images are not cropping in WP "edit image" for a site I am creating and I do not know what the cause is.

I've read a few similar topics, but nothing seems to make a dent. I've deactivated all plugins and checked the server, but things seem to be set up just fine.

Can someone possibly steer me in the right direction on how I can get it to work or what might be causing the issue?

like image 915
Mixmastermiike Avatar asked Jun 04 '14 17:06

Mixmastermiike


People also ask

Why can I not Crop an image in Wordpress?

Make Sure Image Cropping is enabled This may be obvious but first check to make sure on the fly image cropping is actually enabled (it is enabled by default) in the theme settings at Theme Panel > Image Settings.

Why can't I Crop my image in Photoshop?

Crop Command Unavailable (Grayed Out) In order to use the Crop command located in the Image menu, you need to have an active selection in your image. The Crop command doesn't offer any options, it simply crops your image to the boundaries of your selection.

How do I Crop an image in justinmind?

To crop an image, right click on it on the Canvas, hover over the 'Image' option, which will show a 'Crop' option.


3 Answers

I had the same issue but the problem was missing the GD library, https://www.digitalocean.com/community/questions/installing-the-gd-image-library

To install (Linux/ Apache2):

sudo apt-get update sudo apt-get install php5-gd sudo service apache2 restart 
like image 110
Thịnh Phạm Avatar answered Sep 24 '22 19:09

Thịnh Phạm


Keep in mind, the interface is not intuitive and it's easy to forget that the [Save] button is still deactivated if you do the following:

  1. Click the crop button.
  2. Select the area you want.

You must do the opposite.

  1. Select the area you want.
  2. Click the crop button.
like image 27
PJ Brunet Avatar answered Sep 20 '22 19:09

PJ Brunet


I faced the same problem and got it solved. This may be a very late response, but can be useful for other people facing this problem. This is how I resolved it:

Check your functions.php file. See, if you have the closing tag at the every end of the file.

?>

removing this tag fixed my problem. Also can check out this link. Hope this helps!

like image 27
Fahim Hossain Avatar answered Sep 21 '22 19:09

Fahim Hossain