Reputation: 111
I am using wordpress, theme Twenty Fourteen. I would like to add a svg image as header. I have no problems with uploading svg images (I use them already successfully on my webpage), but when I try to use it as head image the following message occurs: "There has been an error cropping your image". Does anybody knows what the problem is?
Thank you! Best wishes, pradhana
Upvotes: 3
Views: 489
Reputation: 1914
As Shubham007 said, the GD Library is not installed.
However, for PHP7 on CentOS or EC2 Linux AMI:
sudo yum install php70-gd
Upvotes: 0
Reputation: 78
I had the same problem. Its the GD Library not installed.
Just use this command to install it:
sudo apt-get install php7.0-gd
Use this to stop Apache for it to make changes
sudo apachectl stop
Start Apache now and everything is fixed.
sudo apachectl start
Upvotes: 2