Content last modified Monday 6 March 2017
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
Article modified:
30 Aug 2012

Comments/questions? Leave a message in the form.

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern