JavaScript must be enabled to play.
Browser lacks capabilities required to play.
Upgrade or switch to another browser.
Loading…
<<set $images = { directory: "", extension: ".webp", }>>
<!-- Usage: <<img "" "" "" "" "" "">> _args[0] = Img name (obligatory) _args[1] = File extension (default .webp) _args[2] = CSS class (default .image) _args[3] = Img width (default 30%) _args[4] = Img style (optional) _args[5] = Img ID (optional) --> <<widget "img">> <<set _imgName = _args[0] || "">> <<set _extension = _args[1] || $images.extension>> <<set _cssClass = _args[2] || "image">> <<set _imgWidth = _args[3] || "30%">> <<set _imgStyle = _args[4] || "">> <<set _imgId = _args[5] || "">> <<if _imgName && _extension>> <<set _imgRelativePath = $images.directory + _imgName + _extension>> <img @src="_imgRelativePath" @alt="_imgName" @width="_imgWidth" @class="_cssClass" @style="_imgStyle" @id="_imgId"> <</if>> <</widget>>