Many friends know how to invoke thumbnails on the Dedecms list page, but don't know how to invoke the thumbnail of the document on the article content page.
In fact, it is very simple, just need to call the thumbnail in the Content page template place to insert the following tag code can be.
You can also make an extension that is displayed when the document has thumbnails, and no thumbnails are displayed. The code is as follows:
{dede:field.litpic runphp= "yes"}
if (@me! = ")
{@me = "{/dede:field.litpic}
Go with the template calling code that doesn't appear without thumbnails on the list page is also given to everyone. The code is as follows:
Add the following code to {dede:list}{/dede:list}.
[Field:array runphp= ' yes ']
@me = (Strpos (@me [' litpic '], ' defaultpic ')? "": "<a href= ' {@me [' Arcurl ']} ' >
</a> ');
[/field:array]
Ways to call thumbnails on a Dream List page and content page