原文来自:https://www.zixuephp.com

dedecms调用图集图片的注释

如果调不出来,把这段代码放到图片前面再试.

  1. {dede:fieldname='imgurls'runphp='yes'}
  2. $text="@me";
  3. preg_match("'alt=(.+)border'",$text,$array);
  4. @me=preg_replace("/\&;/",'',$array[1]);