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
We have a use-case where the crop of an image is defined by the front-end, but we want to permit editors to define the focal-point of the image. Unfortunately, the hotspot feature is catch-all that enables both crop-selection and focal-point selection, which has been confusing our editors. We've been telling them just to ignore the cropping square, but it confuses them because image previews in Sanity itself use this crop selection.
This could be configured in a backward compatible manner by permitting boolean values and discrete options with a nested object, eg:
The text was updated successfully, but these errors were encountered:
ryami333
changed the title
De-couple hotspot selection from crop selection
De-couple focal-point selection from crop-selection (image hotspot option)
Mar 12, 2024
We have a use-case where the crop of an image is defined by the front-end, but we want to permit editors to define the focal-point of the image. Unfortunately, the
hotspot
feature is catch-all that enables both crop-selection and focal-point selection, which has been confusing our editors. We've been telling them just to ignore the cropping square, but it confuses them because image previews in Sanity itself use this crop selection.This could be configured in a backward compatible manner by permitting
boolean
values and discrete options with a nested object, eg:The text was updated successfully, but these errors were encountered: