Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Jukka Svahn
Current version:
0.2
About It:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

rah_aimage

Since Textpattern v4.3.0, built-in image tags have allowed much more customization and can be used to do what rah_aimage offered.

To display a linked image, where link’s target is taken from image’s alt field:

<txp:if_article_image>
	<txp:images>
		<a href="<txp:image_info type="alt" />">
			<txp:image_url />
		</a>
	</txp:images>
</txp:if_article_image>
Article Request Count:

Archived [?]: built-in tag, superseded

Keywords/tags:
Initially released:
2007-12
Posted here:
11 Jan 2010

You know you want to visit the Archives.
Published with Textpattern