搞了N久以为是我自己环境问题,还差点重装了GD库,仔细看看代码才发现是代码问题,along真是粗心了。
/includes/image.func.php 文件,代码
修改成
/includes/image.func.php 文件,代码
case 3:
if(!function_exists("imagecreatefrompng")){
exit("function [imagecreatefrompng] not exists!");
}
$src_file = imagecreatefrom jpeg($srcFile);
break;
修改成
case 3:
if(!function_exists("imagecreatefrompng")){
exit("function [imagecreatefrompng] not exists!");
}
$src_file = imagecreatefrom png($srcFile);
break;