stk:image.create-placeholder(function)

This method creates a transparent image as base64 embedded data image string with specified width and height. This function is normally not used directly.

xs:stringstk:image.create-placeholder
  1. xs:double*aspect-ratio
  2. xs:booleancalculate-gcd

Examples

Input

<xsl:attribute name="src" select="stk:image.create-placeholder($image-ar, true())"/>

Parameters

aspect-ratio
The requested aspect ratio of the image to be shown
Type
xs:double*
calculate-gcd
Generate a 1-1 sized placeholder image, or calculate greatest common divisor to optimize size?
Type
xs:boolean