Documentation

Image Placeholder

Defines a macro image placeholder to display in the Confluence editor

Example

{
  "imagePlaceholder": {
    "width": 100,
    "height": 25,
    "url": "/images/placeholder.png",
    "applyChrome": true
  }
}

Properties

url

Type
string

uri
Required
Yes
Description

The URL of the image placeholder. Your image placeholder needs to be hosted remotely at a web-accessible location. You can specify the URL as an absolute URL or relative to the add-on's base URL.

applyChrome

Type
boolean
Defaults to
false
Description

Set to true if the image should have the macro placeholder chrome applied to it.

height

Type
integer
Description

The height in pixels of the image placeholder. Defaults to the natural image height if not specified.

width

Type
integer
Description

The width in pixels of the image placeholder. Defaults to the natural image width if not specified.