Skip to content

largis21/sanity-plugin-imageshop-input

Repository files navigation

sanity-plugin-imageshop-input

This is a Sanity Studio v3 plugin.

Description

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.

Installation

npm install sanity-plugin-imageshop-input

Usage

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()],
})

License

MIT © Lars-Ivar Giskegjerde

Develop & test

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.

About

Minimal plugin for picking images from images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published