Skip to content

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

Open
@goellner

Description

@goellner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions