Image list

Deprecated in Textpattern 4.4.0 (it was renamed to images tag)

On this page:

Syntax

<txp:image_list />

The image_list tag is a single or container tag that Textpattern will use to gather a list of matching images uploaded via the Textpattern images panel.

If used as a container tag, it must be specified as an opening and closing pair of tags, like this:

<txp:image_list>
    ...contained statements...
</txp:image_list>

This is equivalent to putting the contained statements into a form named ‘my_form’ and using <txp:image_list form="my_form" />.

By default, the tag is context-sensitive, which means that in the absence of any other filter attributes (id, name, category, author, realname, extension, thumbnail), it will grab a list of image IDs from the currently viewed article’s article_image field. If it finds nothing there, it will check the URL to see if there is a category list in progress. If it finds nothing there too, the tag will display nothing. See the auto_detect attribute for further information.

Genealogy

Version 4.4.0

Tag support removed (it was renamed to images tag).

Version 4.3.0

Tag support added.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.