Pixelpost

Authentic Photoblog Flavour

TemplateTags /

TemplateTags.THUMBNAIL_HEIGHT History

Hide minor edits - Show changes to markup

November 06, 2007, at 11:31 PM by austriaka -
Changed line 11 from:

(:source lang=HTML4ALT :) [@

to:

(:source lang=HTML4ALT -link:) [@

Changed line 21 from:
to:
November 06, 2007, at 11:30 PM by austriaka -
Changed line 17 from:

(:source lang=HTML4STRICT :) [@

to:

(:source lang=HTML4STRICT -link:) [@

November 06, 2007, at 07:28 AM by austriaka -
Added lines 1-21:

<THUMBNAIL_HEIGHT>

Tag Function:

  • Displays the height 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 height 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>" height="<THUMBNAIL_HEIGHT>" />

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" height="80" />

«Thumbnail Related Tags|THUMBNAIL_WIDTH»


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