Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Allow to specify an image focal point in the crop-image dialog #3835

Open
mficzel opened this issue Jul 25, 2024 · 1 comment
Open
Labels
8.4 Feature Label to mark the change as feature

Comments

@mficzel
Copy link
Member

mficzel commented Jul 25, 2024

Neos might get focal point support In #5127 and to actually use this the cop-image dialog should allow to specify a focal point and visualize focal points in the inspector.

Description

  • The Neos.UI should be extended and allow to specify a focal point in the crop-image dialog. The given values should then be passed as focalPointX ?int and focalPointY ?int of the new ImageVariant that is created
    via endpoint neos/content/create-image-variant which points to \Neos\Neos\Controller\Backend\ContentController::createImageVariantAction
  • The Image Preview in the Inspector should visualize an existing focal point

Expected behavior

Focal points can be set and are shown in the inspector when present.

Actual behavior

... nothing so far ...

Affected Versions

Neos: 8.4

UI: 8.4

@laurahaenel
Copy link
Collaborator

I leave some inspiration here

image image

And a react based demo for the feeling
https://atombrenner.de/focus-crop-react/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.4 Feature Label to mark the change as feature
Projects
None yet
Development

No branches or pull requests

2 participants