August 2011
Intermediate to advanced
546 pages
20h 53m
English
The Icon element allows the developer to specify a 16×16-pixel thumbnail to
be associated with the gadget. Icons usually appear beside the gadget’s
title in the context of a gadget gallery. The content of the Icon element can be either a URL to a
web-based image or inline base64-encoded image data.
Icon may take the following
form:
<ModulePrefs>
<Icon>http://www.mysite.com/favicon.ico</Icon>
</ModulePrefs>Table 3-3 lists the attributes available
to you when specifying an Icon. Both
are optional.
Table 3-3. Icon attributes
Attribute | Description |
|---|---|
| The encoding you use for the image when embedding it.
Only |
| The MIME type of the embedded icon text. |
Read now
Unlock full access