page: default mobile small medium desktop
form: default

Image sizing considerations edit in TXP

edit image

The roof is shaped to maximise northern exposure whilst minimising the shadow cast on the remainder of the house

all-grid’s default is to use object-fit: cover; on images; they try to honour the original proportions of the image.

If the specified grid width is a percentage of the window width, the proportions of the image adjust to suit.

You can override this behaviour by adding a class to the image shortcode e.g. <txp::figure class="a_image--contain" />.

Further class additions could be specifying common ratios, caption-visibility, and viewport-height-limitation.