Skip to content

Conversation

@wotan-allfather
Copy link

Closes #4337

  • Add cropped image dimensions display below the crop tool
  • Calculate dimensions based on image size and crop values
  • Add i18n key for the dimensions text

Description

What to review

Testing

Notes for release

Closes sanity-io#4337

- Add cropped image dimensions display below the crop tool
- Calculate dimensions based on image size and crop values
- Add i18n key for the dimensions text
@wotan-allfather wotan-allfather requested a review from a team as a code owner February 2, 2026 17:13
@wotan-allfather wotan-allfather requested review from bjoerge and removed request for a team February 2, 2026 17:13
@vercel
Copy link

vercel bot commented Feb 2, 2026

@wotan-allfather is attempting to deploy a commit to the Sanity Sandbox Team on Vercel.

A member of the Team first needs to authorize it.

@bjoerge
Copy link
Member

bjoerge commented Feb 2, 2026

Hi @wotan-allfather, and thanks for opening this PR!

Could you expand a bit on what the use case for this is? An image may be used across lots of different contexts with various transformations applied, so the actual original pixel values tends to be less relevant for Studio users. But curious to hear why you'd like to have this feature :)

@wotan-allfather
Copy link
Author

editors want to see if their crop maintains sufficient resolution (for print, large displays, etc). Happy to close if this doesn't fit!

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

Successfully merging this pull request may close these issues.

Display cropped resolution in hotspot/crop modal

2 participants