Pixelpost

Authentic Photoblog Flavour

TemplateTags /

TemplateTags.THUMBNAIL_WIDTH History

Hide minor edits - Show changes to markup

November 06, 2007, at 11:33 PM by austriaka -
Changed line 21 from:
to:
November 06, 2007, at 07:26 AM by austriaka -
Added lines 1-21:

<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:

(:source lang=HTML4ALT :)
 
<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:

(:source lang=HTML4STRICT :)
 
<img src="thumbnails/thumb_20070413190355_test.jpg" alt="Photo Title" width="120" />

«THUMBNAIL_HEIGHT|Thumbnail Related Tags|IMAGE_THUMBNAIL_ROW»


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