为了账号安全,请及时绑定邮箱和手机立即绑定

无法输出图片

ie打开显示:

yesGD Version:bundled (2.0.34 compatible)</br>FreeType Support:1</br>FreeType Linkage:with freetype</br>T1Lib Support:</br>GIF Read Support:1</br>GIF Create Support:1</br>JPEG Support:1</br>PNG Support:1</br>WBMP Support:1</br>XPM Support:</br>XBM Support:1</br>JIS-mapped Japanese Font Support:</br><br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Call to undefined function iamgejpeg() in C:\wamp\www\image\index.php on line <i>34</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0006</td><td bgcolor='#eeeeec' align='right'>373760</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\image\index.php' bgcolor='#eeeeec'>..\index.php<b>:</b>0</td></tr>
</table></font>

正在回答

2 回答

在输出是添加如下代码就可以了

ob_clean();
header("Content-type:".$info['mime']);

0 回复 有任何疑惑可以回复我~
#1

fangshuiyu

为什么呢
2016-06-07 回复 有任何疑惑可以回复我~
#2

GeorgeYuan

果然是,大神呐 !好多学员遇到这个问题
2016-07-13 回复 有任何疑惑可以回复我~

我的也无法显示,怎么回事呢

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
GD库实现图片水印与缩略图
  • 参与学习       19002    人
  • 解答问题       162    个

带你快速高效的完成图片处理工作,还可以加深对面向对象的理解

进入课程

无法输出图片

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信