The tag of using yt.cms to call a picture is:<# xiaoyi/first/img #>. The default yt.cms calls the first picture when it calls a picture, and nothing when it doesn't! Sometimes the effect is not ideal!
It is simple to call a set default image when there is no image in the article. The specific setting method is as follows:
First, open the following file. The specific path is as follows:
PLUGIN/YTCMS/FUNCTION/YT.Function. ASP
Search in this file:
aryTemplateTagsValue(c)=""
Modify it to read:
AryTemplateTagsValue (c)="Here is your default image path"
Save after modification, and then go to the background to rebuild to see the effect!