问答详情
源自:5-3 封装成类—添加图片水印

浏览器不显示图片,错误代码在这

错误代码:        imagettftext($this->image,$size,$angle,$local['x'],$local['y'],$col,$font_url,$content);

错误信息:Notice: Undefined index: x in C:\wamp\www\image\image.class.php on line 40

Notice: Undefined index: y in C:\wamp\www\image\image.class.php on line 40

Warning: imagettftext() expects parameter 3 to be double, array given in C:\wamp\www\image\image.class.php on line 40

上面的代码就是40行

提问者:髢篭 2016-09-27 19:08

个回答

  • 髢篭
    2016-09-27 19:14:47

    ok了,已解决