Logo Text Blaze
  • Products
    • Text Blaze
      Snippets and templates
    • AI Blaze
      AI writing and editing
    • Data Blaze
      Tables and sheets
    Downloads
    • Add to Chrome
    • Windows app
    • MacOS app
  • By function
    • Support & operations
    • Sales
    • Healthcare
    • Education
    • Recruiting
    • Marketing
    Business
    • For teams
  • Resources
    • Documentation
    • Community forum
    • Gallery
    • Contact us
  • Pricing

Documentation

No search results

Text Blaze

Loading...

Data Blaze

Loading...

Community Forums

Loading...
Add to Chrome –  It's Free! Go to Dashboard ›
Docs > Commands
  • Guides
    • Quick Start
    • Sharing Snippet Folders
    • Dynamic Commands
    • Date and Time
    • Autopilot
    • Forms
    • Formulas
    • Rules & Validation
    • Tables in Snippets
    • Connect Other Apps
    • Tidying Whitespace
    • Lists
    • Read Data from Websites
    • Teams and Organizations
  • Tutorial Videos
  • Gallery
  • Frequently Asked Questions
  • Formula Reference
  • Dynamic Commands
    • Using Dynamic Commands
    • {=} (Formula Command)
    • {button}
    • {click}
    • {clipboard}
    • {cursor}
    • {error}
    • {formdate}
    • {formmenu}
    • {formparagraph}
    • {formtext}
    • {formtoggle}
    • {if}
    • {import}
    • {key}
    • {link}
    • {note}
    • {repeat}
    • {run}
    • {site}
    • {snippet}
    • {time}
    • {user}
    • {wait}
  • Connected Snippets
    • Connected Snippets Overview
    • {image}
    • {urlload}
    • {urlsend}
    • {dbselect}
    • {dbinsert}
    • {dbupdate}
    • {dbdelete}
  • Command Packs
    • Capitalize
    • Gmail
    • LinkedIn
    • Randomize
Commands

{image}

Summary: Include a dynamic image in the snippet.
Sample Usage
If you invested ${formtext: name=investment; default=10000; width=10} today and it grew at a rate of {formtext: name=rate; default=20; width=4}% a year, you would see the following increase:

{image: https://quickchart.io/chart?width=600&height=300&bkg=transparent&c=\{"type": "bar","data": \{"datasets": [\{"label": "Investment Size ($)", "data": [{=join([investment * (1 + rate/100)^(i-1) for (y, i) in seq(0, 11)], ",")}]\}], "labels": [{=join(seq({time:YYYY}, {time:YYYY} + 11), ",")}]\}\}}
_

Settings


Setting NameTypeDescription
PositionaltextThe URL for the image.
widthnumberThe width of the image in pixels.
heightnumberThe height of the image in pixels.
General Command Settings
trimyes/no/left/rightIf yes whitespace is removed before and after the command. If left, only whitespace to the left is removed. If right, only whitespace to the right is removed.
image is a Connected Snippet command. Connected Snippets are advanced commands currently in Beta. They may change in the future.

The image command allows you to include URLs that resolve into images in your snippets.

Various services that exist that will create dynamic images based on a URL such as charts or maps. The example above uses QuickChart.io.

If the image URL contains characters that have special significance in Text Blaze commands, they must be escaped with backslashes. Notably {, }, \ and ; should be escaped by placing a single \ before them.

For example, { would become \{ and \ would become \\.

See the Escaping Special Characters section of the Formula Blaze Reference page to learn more.

Dynamic Images vs Static Images

If you want to include a static image in the snippet, rather than using the image command you should import the image by clicking the picture icon in the styling toolbar.

The maximum allowed size for an image when uploading a static image is 2MB.

The image command is primarily for dynamic images where the image URL may change.

Sharing snippets containing the image command

When sharing snippets with others, snippets containing the image command may only be shared with members of your Text Blaze Business organization.

About

Plans and Pricing
Sharing Snippets
Text Blaze for Business
Forms
Autopilot
Dynamic Commands
Command Packs
Text Blaze for Windows
Text Blaze for macOS

Support

Get Started with Text Blaze
Contact Us
Documentation
Community Forum
Blog
Gallery
Engineering Blog

Solution for

Business
Customer Support
Recruiters
Education
Healthcare
Sales
Property Managers
AI

Other

Privacy Policy
Terms of Service
Open Source Licenses
Affiliate
© Blaze Today Inc