Other
- Thumbnail image
macro_thumbnail(relativePathToImage: string, params)"params" is an object that can contain the following keys:
- width - width (px) of thumbnailed image (number)
- heigh - heigh (px) of thumbnailed image (number)
- crop - crop of image ('center' | 'top' | 'bottom' | 'left' | 'right' | 'topCenter') Default - 'center'
- rotate - angle of rotation (number)
- format - macro response format. Now one value available - 'tag'. If it value is 'tag' it return
tag with path to thumbnailed image.
- alt - alt of image if 'format' value is 'tag'
- title - title of image if 'format' value is 'tag'
- Is mobile device
macro_isMobile()It return boolean value
