<p>This will be possible using a new <code>imageEditorRatios</code> <a href="https://docs.craftcms.com/v3/config/config-settings.html" rel="nofollow noreferrer">config setting</a> that is coming in Craft 3.5 (due to release in early August 2020):</p>
<pre class="lang-php prettyprint-override"><code>...
'imageEditorRatios' =&gt; [
    'Unconstrained' =&gt; 'none',
    'Original' =&gt; 'original',
    'Square' =&gt; 1,
    '16:9' =&gt; 1.78,
    '10:8' =&gt; 1.25,
    '7:5' =&gt; 1.4,
    '4:3' =&gt; 1.33,
    '5:3' =&gt; 1.67,
    '3:2' =&gt; 1.5,
    'Some custom ratio' =&gt; 1.9,
];
</code></pre>
<p><a href="https://github.com/craftcms/cms/issues/6201#issuecomment-647106804" rel="nofollow noreferrer">Source (GitHub issue)</a></p>

CC BY-SA 4.0
2020-07-27T18:19:45.533Z
2020-07-27T18:45:45.697Z
2020-07-27T18:45:45.697Z
Mats Mikkel Rummelhoff
<p>We'd like to add a custom aspect ratio to the list of aspect aspect ratios in the image editor so our client doesn't have to look it up to remember each time. Is this possible?</p>
<p><a href="https://i.sstatic.net/klVuL.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/klVuL.png" alt="enter image description here" /></a></p>

<image><editor>
Is there a way to add custom aspect ratios in the image editor?
# Is there a way to add custom aspect ratios in the image editor?

(Asked by: username_0 on 2020-07-27)

We'd like to add a custom aspect ratio to the list of aspect aspect ratios in the image editor so our client doesn't have to look it up to remember each time. Is this possible?

[![enter image description here](https://i.sstatic.net/klVuL.png)](https://i.sstatic.net/klVuL.png)

**Tags:** image, editor

---

## 1 answers

### Answer by username_1 on 2020-07-27. Score: 2 | Accepted answer

This will be possible using a new imageEditorRatios config setting that is coming in Craft 3.5 (due to release in early August 2020):
...
'imageEditorRatios' => [
    'Unconstrained' => 'none',
    'Original' => 'original',
    'Square' => 1,
    '16:9' => 1.78,
    '10:8' => 1.25,
    '7:5' => 1.4,
    '4:3' => 1.33,
    '5:3' => 1.67,
    '3:2' => 1.5,
    'Some custom ratio' => 1.9,
];

Source (GitHub issue)


---

