Current location - Education and Training Encyclopedia - Educational Knowledge - How to set the thumbnail size of dream weaving homepage?
How to set the thumbnail size of dream weaving homepage?
Method of adding thumbnails in home page bar

Open file background template-default template Management-index.html (home page template); Add the calling code in the following code, and then save and update the home page in the background:

Imgwidth='80' imgheight='50' in the code means that the picture is 80 in width and 50 in height.

Can be defined freely

& ltdt & gt& ltstrong & gt& lt answer? href="{dede:field? name = ' type URL '/} " & gt; {dede: field? name = ' typename '/} & lt; /a & gt; & lt/strong & gt; & lt span? Class="more ">& lt answer? href="{dede:field? name = ' type URL '/} " & gt; larger ...

& ltdd & gt?

& ltul? class="e 1 " >?

{dede:arclist? row=2? orderby=pubdate? type='image '? imgwidth='80 '? imgheight='50'}?

& lt Li>& lt answer? href = "[field:arcurl/]" & gt; [field:image/]& lt; /a & gt; & lt/ Li & gt{/dede:arclist}?

& lt/ul & gt; ?

& ltul? class="d 1? ico3 " >; ?

{dede:arclist? titlelen='60 '? row='8'}?

& lt Li>& lt span? Class="date "> 【 field: pubdate? function="MyDate('m-d ',@ me)"/]& lt; /span>。 & lt answer? href="[field:arcurl? /]" & gt; [field: title? /]& lt; /a & gt; & lt/ Li>?

{/dede:arclist}?

& lt/ul & gt;