Authentic Photoblog Flavour

TemplateTags /


Tag Function:

  • Displays image width.

Main Usage:

  • Used within image_template.html to dynamically recall and load the current image width.


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

<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" width="<IMAGE_WIDTH>" />

Sample Output:

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

<img src="images/20070413190355_test.jpg" alt="Photo Title" width="650" />

<< <IMAGE_TITLE> | TemplateTags | <IMAGE_HEIGHT> >>

Page last modified on November 06, 2007, at 10:53 PM