POST TIME:2021-05-23 03:06
$imgurls .= "{dede:img ddimg='$v' text='$imginfo' width='".$imginfos[0]."' height='".$imginfos[1]."'} $v {/dede:img}\r\n";
根据判断$ddimg就是缩略图了
if($ctag->GetName()=="img")
{
$row = array();
$row['imgsrc'] = trim($ctag->GetInnerText());
$row['text'] = $ctag->GetAtt('text');
$row['litpic'] =$ctag->GetAtt('ddimg');
$images[] = $row;
}
这样field:litpic 就可以显示出图片所对应的缩略图了 