
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeIt sounds like you're trying to edit an image in Sanity Studio but can't find the edit button! Here's what you need to know:
The edit button (pencil icon) only appears if hotspot and crop functionality is enabled in your schema. Look for a pencil icon in the top right corner of the image component after you've uploaded or selected an image.
If you don't see the pencil icon, your schema likely doesn't have hotspot enabled. To fix this, you need to update your image field schema to include:
{
name: 'image',
title: 'Image',
type: 'image',
options: {
hotspot: true // This enables the edit button!
}
}Once hotspot is enabled in your schema, you'll be able to click the pencil icon to access the image editor where you can set focal points and crop areas.
Important: If you update the schema, you may need to restart your Studio development server for the changes to take effect.
If you're working on a project where you don't have access to modify the schema, you'll need to reach out to whoever manages the Studio configuration to enable this feature for you.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store