Add php gd support