Go to main content

Image display

Deprecated in Textpattern 4.7.0 (use the image tag instead)

Contents

Syntax

<txp:image_display />

The image_display tag is a single tag that is intended to be used in tandem with image_index.

The image_display tag displays an image specified by the page URL which in turn is built by its tandem tag image_index. To use this tag successfully, it has to be placed either inside an article which shares a common category with the images to display (thereby linking article and image categories), or in a location at the page template which is displayed without any special article context.

If this tag seems to display no image at all, it probably resides inside an article which is never rendered as it does not belong to the currently active category.

Attributes

This tag has no attributes of its own. It accepts only the global attributes .

Examples

Example 1: Display a single image as chosen by image_index

<txp:image_display />

See the image_index tag documentation for details on how to populate this tag with content.

Genealogy

Version 4.7.0

Tag support removed - use image tag instead.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)