level 1
fzsbm
楼主
大家使用织梦系统的时候应该发现dedecms的标签[field:imglink/]所调用的图片代码是以“>”结束的,但这不符合html的规范。我们这里教大家如何将“>”修改成“/>”
大家先在includ目录下的taglib文件夹中找到arclist.lib.php 这个文件,用记事本打开。
找到$row['image'] = "<img src='".$row['picname']."' border='0' width='$imgwidth' height='$imgheight' alt='".ereg_replace("['><]","",$row['title'])."'> 这行
修改成$row['image'] = "<img src='".$row['picname']."' border='0' width='$imgwidth' height='$imgheight' alt='".ereg_replace("['><]","",$row['title'])."'/>就行了!
本文地址:http://www.dedetem.com/post/18/
2010年10月31日 11点10分
1
大家先在includ目录下的taglib文件夹中找到arclist.lib.php 这个文件,用记事本打开。
找到$row['image'] = "<img src='".$row['picname']."' border='0' width='$imgwidth' height='$imgheight' alt='".ereg_replace("['><]","",$row['title'])."'> 这行
修改成$row['image'] = "<img src='".$row['picname']."' border='0' width='$imgwidth' height='$imgheight' alt='".ereg_replace("['><]","",$row['title'])."'/>就行了!
本文地址:http://www.dedetem.com/post/18/