Cms: [FR] Add option to customise image editor constraints

Created on 10 Jun 2020  路  2Comments  路  Source: craftcms/cms

Description

It would be nice if we could add or even fully customise the cropping aspect ratios in the image editor. Adding a new custom value could easily be implemented with a hook or a config setting:

image

Requested here: https://github.com/craftcms/cms/issues/4359#issuecomment-557728635

My use case which involves additional requirements is to show the user a "safe zone" in the "cropperGrid" by adding additional grid lines. I wonder if this would also be possible as an advanced custom config for the cropping aspect ratio.

Example: The blue guides would be the "cropperGrid" lines with an aspect ratio of 32:9

image

assets enhancement

Most helpful comment

Just added this for Craft 3.5.

All 2 comments

My use case which involves additional requirements is to show the user a "safe zone" in the "cropperGrid" by adding additional grid lines. I wonder if this would also be possible as an advanced custom config for the cropping aspect ratio.

@leevigraham can you post that as a separate issue, please?

Just added this for Craft 3.5.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bitboxfw picture bitboxfw  路  3Comments

angrybrad picture angrybrad  路  3Comments

darylknight picture darylknight  路  3Comments

angrybrad picture angrybrad  路  3Comments

RitterKnightCreative picture RitterKnightCreative  路  3Comments