Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress: Using svg as header image

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

like image 611
pradhana Avatar asked Nov 26 '25 17:11

pradhana


1 Answers

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
like image 97
Codezilla Avatar answered Nov 28 '25 11:11

Codezilla



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!