You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 set 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:
statamic-focal-point-edit.mp4
We can set X,Y,Z
where X and Y are values from 0 to 1
Z is a value from 1 to 10
CDNs want different formats, but that could be easily transformed from those values. Some want 34%, some 0.34, ...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 set 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:
statamic-focal-point-edit.mp4
We can set X,Y,Z
where X and Y are values from 0 to 1
Z is a value from 1 to 10
CDNs want different formats, but that could be easily transformed from those values. Some want 34%, some 0.34, ...
And the media library package from Spatie also has support for focal cropping: https://spatie.be/docs/image/v3/image-manipulations/resizing-images#content-focal-crop
Beta Was this translation helpful? Give feedback.
All reactions