Contents
Syntax
The syntax for
imginclude{options}(absolute-path)
@imginclude{options}(absolute-path)
Description
The
<img src="relative-path" options>
The
Note: Another good way to include an image file, where an error is thrown if the file does not exist, is:
<img src="@pathtofile(absolute-path)" width="120px">
Options
Anything added as an option to an
@imginclude{width="250px", style="border-radius: 5px"}("logo.svg")
The return value will be:
<img src="logo.svg" width="250px" style="border-radius: 5px">
f++ example
Examples of
imginclude("site/assets/images/logo.svg") imginclude{width="200px"}("site/assets/images/teji.svg")
n++ example
Examples of
@imginclude("site/assets/images/logo.svg") @imginclude{width="200px"}("site/assets/images/teji.svg")