Logo Text Blaze

  • Docs
  • Community
  • Documentation

    Loading...

    Community Forums

    Loading...
Add to Chrome –  It's Free! Go to Dashboard ›
COMMANDS

{image}

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 in Beta and may undergo changes in the future.

The image command includes images in snippets. Various services exist that will create dynamic images such as charts or maps based on your inputs. The example above uses QuickChart.io.

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 the styling toolbar. This allows the image to be displayed in the snippet editing view.

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

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 Blaze Formula Reference for more information on defining custom URLs based on dynamic data.

When sharing snippets with others, snippets containing the image command may only be shared with members of your Text Blaze Business organization.
  • Guides
    • Quick Start
    • Teams and Organizations
    • Forms
    • Sharing Snippet Folders
    • Autopilot
    • Tidying Whitespace
  • Tutorial Videos 🎬
  • Examples
    • Email
    • Invoice
    • Library Notice
  • Frequently Asked Questions
  • Formula Reference
  • Dynamic Command Reference
    • Using Dynamic Commands
    • formula ({=})
    • {click}
    • {clipboard}
    • {cursor}
    • {error}
    • {formdate}
    • {formmenu}
    • {formparagraph}
    • {formtext}
    • {formtoggle}
    • {if}
    • {import}
    • {key}
    • {link}
    • {note}
    • {repeat}
    • {site}
    • {snippet}
    • {time}
    • {user}
    • {wait}
  • Connected Snippets
    • Overview
    • {image}
    • {urlload}
    • {urlsend}

About

Plans
Text Blaze for Business
Sharing Snippets
Forms
Autopilot
Dynamic Replacements

Support

Contact Us
Documentation
Community Forum
Blog

Other

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