Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<IMAGE_PREVIOUS_ID>

Tag Function:

  • Recalls the previous image id number.

Main Usage:

  • Used within image_template.html to dynamically recall the previous image id number.

Examples:

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

<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">
  <img src="images/<IMAGE_NAME>" />
</a>

or

<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">Previous</a>

Sample Output:

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

<a href="index.php?showimage=99">
  <img src="images/20070413190355_test.jpg" />
</a>

or

<a href="index.php?showimage=99"> Previous</a>

ImageRelatedTags
<< <IMAGE_PREVIOUS_LINK> | TemplateTags | <IMAGE_PREVIOUS_TITLE> >>


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