自由标签中调用远程图片错误的修改
自由标签中 [#PicUrl#] 调用远程图片错误的问题
因原函数没有对远程图片检测,所以导致错误生成!
页面:foosun/admin/Refresh/RefreshFunction.asp (感谢qqyou提醒!)
修改如下:
case "picurl"
for m = 0 to UBound(FieldsNameArray)
If InStr(Lcase(Rs(m).name),"picpath") <> 0 Then
if left(Trim(Rs(m)),4)="http" then '检测是否远程图片
TempResult = (Trim(Rs(m)))
else
TempResult = GetConfig(0)&(Trim(Rs(m)))
end if
Exit for
End if
next
[此贴子已经被作者于2006-7-23 19:48:47编辑过]