Inline Images

Add inline images in the document through json data using the <img> tag.

How It Works

Image url can be provided in the input json data using html img tag.

JSON representation of the input data:

Copied to your clipboard
{
"ContentBlock": "sample image - <img src=\"https://documentcloud.adobe.com/dc-docgen-app/assets/dc_icon.png\">"
}

Representation of sample json data

In the above example, the tag ContentBlock contains an <img> html tag. This image will be downloaded and placed in the final document as shown below. Adding inline image in the document through json data using image <img> tag

Note: Only https urls are supported.