Image upload / Crop issue
Last updated
Last updated
In general, for WordPress, PHP allows uploading an image directly into the browser. And, it’s the GD library that makes image functions work.
‘WordPress error cropping image’ mainly happens because of the absence of the GD (Graphics Draw) package.
To install it, use below command (assuming your php version is 8.1)