Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<THUMBNAIL_WIDTH>

Tag Function:

  • Displays the width of the thumbnail as it is set in Admin Thumbnails Options.

Main Usage:

  • Used within image_template.html or browse_template.html for recalling the width of a thumbnail.

Examples:

In your image template, you can use the tag like this:

<img src="thumbnails/thumb_<IMAGE_NAME>" alt="<IMAGE_TITLE>" width="<THUMBNAIL_WIDTH>" />

Sample Output:

Using the code above will generate the following when the template is run:

<img src="thumbnails/thumb_20070413190355_test.jpg" alt="Photo Title" width="120" />

ThumbnailRelatedTags
<< <THUMBNAIL_HEIGHT> | TemplateTags | <IMAGE_THUMBNAIL_ROW> >>


Page last modified on November 06, 2007, at 11:33 PM