image (Tile schema)
Specifies an image used in the tile template. The supplied image should match the size and shape requirements for the specific template or image within that template.
Element hierarchy
Syntax
<image id = integer
src = string
alt = string
addImageQuery? = boolean />
Key
?
optional (zero or one)
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
addImageQuery | Set to true to allow Windows to append a query string to the image URI supplied in the tile notification. Use this attribute if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string. This query string specifies scale, contrast setting, and language; for instance, a value of "www.website.com/images/hello.png" included in the notification becomes "www.website.com/images/hello.png?ms-scale=100&ms-contrast=standard&ms-lang=en-us" |
boolean | No | false |
alt | A description of the image, for users of assistive technologies. |
string | No | None |
id | The image element in the tile template that this image is intended for. If a template has only one image, then this value is 1. The number of available image positions is based on the template definition. |
integer | Yes | None |
src | The URI of the image source, one of these protocol handlers:
|
string | Yes | None |
Child Elements
None.
Parent Elements
Parent Element | Description |
---|---|
binding | Specifies the tile template. Every notification should include one binding element for each supported tile size. |
Requirements
Value | |
---|---|
Namespace | http://schemas.microsoft.com/notifications/2012/tile.xsd |