li-image

Supported Features

Document✔
Media✔
Include✗
Document Creation Flow✗
Push Message✗
Usage Log✗
Table Dashboard✗
Display Filter✗
Search Indexing✗
System Metadata✗
Planning System✗
Webhook Conditions✗

Default UI

UI to select, upload, delete, and crop an image

Storage Format

{
  originalUrl: <String>,
  url: <String>,
  mediaId: <String>,
  height: <Integer>,
  width: <Integer>,
  mimeType: <String>,
  imageService: <String>,
  crops: [
    <Object>
  ],
  focalPoint: {
    x: <Integer>,
    y: <Integer>
  }
}

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle',
      type: 'li-image',
      ui: {
        config: {
          uploadMediaType: 'image',  // optional
          useDashboard: 'images',    // optional, default: editor.images.useDashboard of the content type
          readOnly: false            // optional, default: false
        }
      }
    }
    // ...
  ]
}