App Builder: Recommended way to display inline images in internal notes | The place for Zendesk users to come together and share
Skip to main content
Oct 27, 2026 1:26 AM UTC
Question

App Builder: Recommended way to display inline images in internal notes

 

Hello,

I am building a custom Internal Note App using Zendesk App Builder.

The reason is that our agents sometimes accidentally post public comments instead of internal notes because both use the same editor. To reduce this risk, we are trying to provide a dedicated editor for internal notes through App Builder.

One of our requirements is to support inline images in internal notes, similar to Zendesk's native internal note editor.

 

What we tested

Method 1: Data URL (FileReader)

We use:

JavaScript ‘FileReader.readAsDataURL(file)’

and then include the generated Data URL inside:

JavaScript ‘comment.html_body’

This works for some small images.

However, we observed unexpected behavior around image size:

Image size Result
39 KB Works
41.6 KB Works
47.8 KB Works
50.4 KB Fails
51 KB Fails
59 KB Fails

 

 

When it fails, the image is not displayed and browser console sometimes shows errors such as:

cid:screenshot-xxxx.png

ERR_UNKNOWN_URL_SCHEME

or

Not allowed to load local resource: blob:

 

Method 2: Uploads API

We also tried implementing the Uploads API flow described in the Zendesk documentation:

  1. Upload image to /api/v2/uploads.json
  2. Get upload token
  3. Add token to comment uploads
  4. Reference uploaded image in html_body

However, from App Builder / ZAF we encountered issues such as:

403 Forbidden or 422 Invalid URI

depending on the implementation approach.

 

Questions

  1. Is storing data:image/...;base64,... in comment.html_body officially supported?
  2. Are there any documented limits for Data URLs or image size in comment.html_body?
  3. What is the recommended way to implement inline images from an App Builder app?
  4. Is there a supported way to reproduce Zendesk's native internal note image behavior from App Builder or ZAF apps?

Our goal is simply:

Allow agents to insert and display inline images inside internal notes from a custom App Builder app in the same way Zendesk native internal notes support inline images.

Any guidance or recommended architecture would be greatly appreciated.

Thank you!

2 replies

Sheyla
Community Manager
Oct 28, 2026 7:01 PM UTC

​@Sayako Akiba this is a really creative approach in providing more flexibility for agents! 

Translate
Oct 29, 2026 12:01 AM UTC

​@Sheyla Thank you for your comments. It’s not yet working as expected though… We hope somebody gives some more knowledge to insert inline images properly!

Translate