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] Plugin which allows setting a focal point #1021

Open
1 task done
goellner opened this issue Nov 7, 2024 · 0 comments
Open
1 task done

[Feature] Plugin which allows setting a focal point #1021

goellner opened this issue Nov 7, 2024 · 0 comments

Comments

@goellner
Copy link

goellner commented Nov 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

When cropping images on CDNs like imgix, twicpics or when using with Laravel MediaLibrary we have to submit a focal point, when we don't want to crop to exact center of an image.

Describe the solution you'd like

It would be awesome to get a button to the image editor, where we can set the focal point on images. When using a CDN like imgix or twicpics, we can provide a focal point and the image gets cropped with the center set on that specific point.

Statamic has a very good UI for this, attached a video of it:

381037576-78da3088-d6ee-42f3-834a-be11250fbd74.mp4

and I found an example on codepen: https://codepen.io/primalivet/pen/XWbrMXm

Describe alternatives you've considered

I am not directly using filepond, it is embedded into Filament. For me to write a custom FilePond Plugin and to get it working inside Filament would be quite quite a big task.

Since the focal point cropping is a feature that is very relevant due to responsive image sizes, I think it has a valid point to exist.

I know it has nothing really to do, with editing an image, but it could be stored on the metadata of an image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant