--- label: 'Adding an image style' related: - core.media - field_ui.manage_display - layout_builder.overview --- {% set media_topic = render_var(help_topic_link('core.media')) %} {% set styles = render_var(url('entity.image_style.collection')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Add a new image style, which can be used to process and display images. See {{ media_topic }} for an overview of image styles.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}In the Manage administrative menu, navigate to Configuration > Media > Image styles.{% endtrans %}
  2. {% trans %}Click Add image style.{% endtrans %}
  3. {% trans %}Enter a descriptive Image style name, and click Create new style.{% endtrans %}
  4. {% trans %}Under Effect, choose an effect to apply and click Add.{% endtrans %}
  5. {% trans %}Configure the effect on the next page. Most effects require some additional configuration after they are added. For example, for the Crop effect, enter the Width and Height to crop the image to, and choose the Anchor point. Click Add effect.{% endtrans %}
  6. {% trans %}Repeat the previous two steps until all of the effects have been added.{% endtrans %}
  7. {% trans %}Drag to change the order of the effects. Then click Save to save the new order.{% endtrans %}
  8. {% trans %}The image style can now be used to format a field containing an image in your layouts or traditional field displays. It can also be used as part of a responsive image style. See related topics below for more information.{% endtrans %}