Designed for use in article forms and within the body copy, the <txp::gallery id="1, 2, 3" />
shortcode adjusts the layout according to what you feed it. See examples on most detail pages of this site (it’s lower down…).
The shortcode defaults to a twin-column layout, but you can specify triple or quad-columns by using <txp::gallery tri id="1, 2, 3" />
or <txp::gallery quad id="1, 2, 3" />
.
In forms/article/default.txp the same shortcode is called by:
<txp:if_article_image>
<txp::gallery tri id='<txp:custom_field name="article_image" />' offset="1" limit="50" classgallery="u_span--full-width" />
</txp:if_article_image>
If a single image is supplied, a single column is used; if the image is portrait, its height is viewport limited.