Not a developer? Go to MovableType.com

Documentation

AssetThumbnailLink

When a type of item is image, XHTML tag to show a thumbnail with link to its original file, will be shown. You can set size of thumbnail by using modifiers that allows you to set sizes of image. If you don’t set size of thumbnail image, thumbnail shown will be the same as its original size.

Attributes:

  • height

    The height of the thumbnail to generate. If this is the only parameter specified then the thumbnail’s width will be scaled proportionally to the height.

  • width

    The width of the thumbnail to generate. If this is the only parameter specified then the thumbnail’s height will be scaled proportionally to the width.

  • scale

    The percentage by which to reduce or increase the size of the current asset.

  • square

    If set to 1 (one) then the thumbnail generated will be square, where the length of each side of the square will be equal to the shortest side of the image.

  • new_window (optional; default “0”)

    If set to ‘1’, causes the link to open a new window to the linked asset.


Back

Leave a Comment