Image

A component that is used to embed an image not from the assets folder into a modal window or the settings page. The full path to the image must be specified in the src parameter.

Interface: IImage.

Example

import {type IImage} from "@onlyoffice/docspace-plugin-sdk"

const imageProps: IImage = {
  width: "64px",
  height: "64px",
  alt: "sample",
  src: "image.png",
}

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).