Use Case: Image Fit and Position within Ratio The Image element comes with advanced position and fit options. They can work in tandem with the Ratio element. Important Notes: Reference the Image element for all options. Demo
Alt text.
{% set image %}
  {% include '@bolt-elements-image/image.twig' with {
    attributes: {
      alt: 'Alt text.',
      src: '',
      width: 400,
      height: 250,
      style: '--e-bolt-image-position: top right',
  } only %}
{% endset %}
{% include '@bolt-elements-ratio/ratio.twig' with {
  content: image,
  ratio: 'square',
} only %}
<div class="e-bolt-ratio e-bolt-ratio--square">
  <img src="" width=400 height=250 class="e-bolt-image" alt="" style="--e-bolt-image-position: top right">