This is a Sanity Studio v3 plugin.
This is a minimal plugin for integrating imageshop with Sanity. The plugin uses the Imageshop imagepicker iframe and is based on This plugin The difference between the two plugins is that Screentek's plugin actually makes a sanity image asset, while this only saves the permalink as well as some metadata.
npm install sanity-plugin-imageshop-input
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {imageshopInput} from 'sanity-plugin-imageshop-input'
export default defineConfig({
//...
plugins: [imageshopInput()],
})
MIT © Lars-Ivar Giskegjerde
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.