1、检查服务器是否支持gd
2、检查gd的版本号
若小于2则
$dst_img = imagecreatetruecolor($thumbw, $thumbh); // 创建目标图 gd2才有此函数
改为
$dst_img = imagecreate($thumbw, $thumbh); // 创建目标图
2、检查gd的版本号
若小于2则
$dst_img = imagecreatetruecolor($thumbw, $thumbh); // 创建目标图 gd2才有此函数
改为
$dst_img = imagecreate($thumbw, $thumbh); // 创建目标图
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货