Skip to content

[NFR] add aspect ratios validation for Validator/Files #17104

@olegatro

Description

@olegatro

Right now we can set minResolution and maxResolution options.

But in responsive design is more useful have images with same aspect ratios.
For example if you show list of cards with images.

the code could be looks like that:

'aspectRatio' => [
  'file' => '16by9' // or 16x9
]

Metadata

Metadata

Assignees

Labels

5.0The issues we want to solve in the 5.0 releasenew feature requestPlanned Feature or New Feature Request
No fields configured for Feature.

Projects

Status
Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions