Check for **gd** extension