<txp:image_date /> single tag, 3 attributes

image_date

The image_date tag is a single tag that Textpattern will replace with the uploaded date of the current (or given) image. Should usually be used in an image form, although it may be used on its own providing you specify an id or name.

attributes

id="unset" (integer) 
  • An id assigned at upload of an image to display. The IDs can be found on the Images tab.
name="unset" 
  • An image to display, given by its image name as shown on the Images tab. If both name and id are specified, the id takes precedence.
format="format string" 
  • Adjust the display of the date, overriding Archive date format set in Basic Preferences.
  • Values: any valid strftime() string values.

genealogy

Version 4.3.0

  • tag introduced
<txp:image_date /> 1 examples

Display additional image information

<txp:images category="mammals">
   <a href="<txp:image_url />"><txp:thumbnail /></a>
   <div class="img_info">
      <txp:image_info type="caption, author" break=" by " />
      <txp:image_date format="%e %b %Y" />
   </div>
</txp:images>

Other tags used: images, image_url, image_info, thumbnail