Image



When editing a page you can attach images. The images are stored with and managed on the page for which they are attached. Displaying these images is straightforward with some flexibility for the way they are displayed.
While the files and images are attached to a single page, they can also be referenced on one page from another.


##Image (string [name], integer {scale}, string {altText}, string {class})


  • Name: name [Required]
    • Type: string
    • Description: The name of the page attached image.
  • Name: scale {Optional}
    • Type: integer
    • Description: The optional scale of image. The engine will automatically resize the image for display while maintaining aspect ratio.
  • Name: altText {Optional}
    • Type: string
    • Description: The optional "alt tag" for the image. This can be useful for search engines, context and accessibility.
  • Name: class {Optional}
    • Type: string
    • Description: The optional CSS class name for the image.
    • Default: img-fluid
  • Name: maxWidth {Optional}
    • Type: integer
    • Description: The optional maximum width for an image. The engine will automatically resize the image for display while maintaining aspect ratio.



Displaying an image that is attached to the page:
##Image(TightWiki Logo.png)

Displaying an image that is attached to the page scaled to 25%:
##Image(TightWiki Logo.png, 25)

Displaying an image that is attached to the page scaled to 25% with an alternate caption
##Image(TightWiki Logo.png, 25, The image caption)


Displaying an image that is attached to another page:
##Image(Some other Page/TightWiki Logo.png)


You can directly reference a page attached image:
##Image(https://tightwiki.com/File/Image/builtin::media/TightWiki_Logo.png)



Function Calling Convention
Scope Function
Instruction Function
Standard Function


Wiki Help :: Alert
Alerts bring important information to the attention of the reader.
Wiki Help :: AppVersion
Displays the wiki engine version.
Wiki Help :: Attachments
Lists the attached files associated with a page.
Wiki Help :: Background
Set the background color for a block of content.
Wiki Help :: Blockquote
Blockquotes are good for quoting blocks of content from another source within your document.
Wiki Help :: BR
Inserts one or more line-breaks into the wiki body.
Wiki Help :: Bullets
Create hierarchical ordered or unordered lists.
Wiki Help :: Callout
Prominently display useful information in a fairly understated panel.
Wiki Help :: Card
Cards are good for displaying every-day content and can have a title.
Wiki Help :: Code
Display formatted, wiki-unprocessed and syntax-hilighted code.