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 :: Collapse
Dynamically show or hide a section of the wiki body.
Wiki Help :: Color
Set the color of a portion of text.
Wiki Help :: Created
Displays the created date/time of the page.
Wiki Help :: DefineSnippet
Sets a snippet variable to a block of wiki markup.
Wiki Help :: Deprecate Instruction
Processing instruction indicating the page needs to be deleted.
Wiki Help :: Description (Standard Function)
Displays the description of the wiki page.
Wiki Help :: DotNetVersion
Displays the .NET version that the wiki is running on.
Wiki Help :: Draft Instruction
Processing instruction indicating the page is in draft - is incomplete.
Wiki Help :: EditLink
Insert a link to quickly edit the page.
Wiki Help :: Figure
Displays a piece of content along with an optional caption, especially useful for images.