Aspect ratio crops off-center

Open
#2 3 comments 0 reactions 1 assignee View on GitHub

@nadavs is already working on this.

Since Sep 25, 2017.

Assessment

This issue has not been assessed yet.

Description

enhancement

It seems to me when I try to use the Art Direction functionality, with any ratio other than 1:1 the cropping is a off center by a noticeable amount. Is this on purpose? Is there a way to override?

Edit: After some further reading, it appears this is by design. The algorithms are doing intelligent image cropping. I'm still wondering if there is a way to optionally override so images are always cropped to the center.

Dominant language
JavaScript
Stars
443
Forks
33
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/responsive_breakpoints_generator

All issues in cloudinary/responsive_breakpoints_generator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.