Not a developer? Go to MovableType.com

Documentation

EntryAssets

A container tag which iterates over a list of assets for the current entry in context. Supports all the attributes provided by the Assets tag.

Examples

Basic use:

<mt:Entries>
    <h2><mt:EntryTitle></h2>

    <mt:EntryAssets>
    <p><mt:AssetLabel></p>
    </mt:EntryAssets>
</mt:Entries>

Display only one image asset associated with each entry, making use of some of the attributes found in the Assets block tag:

<mt:Entries>
    <h2><mt:EntryTitle></h2>

    <mt:EntryAssets type="image" lastn="1">
    <img src="<mt:AssetThumbnailURL width="100">" alt="<mt:AssetLabel>" />
    </mt:EntryAssets>
</mt:Entries>
Back

1 Comment

Daniel M

Daniel M on March 1, 2012, 2:10 p.m. Reply

how do I show it from a specific folder

Leave a Comment