The description and thumbnail image for a template display in the template selector and cartridge selector dialog boxes in Experience Manager. Adding a description and thumbnail image to a template is required. Without them, template importation fails.
To specify the description and thumbnail image for a template, insert
the following elements within the
_.json
:
Element |
Description |
---|---|
|
One or two brief sentences to help the content administrator identify the template in Experience Manager. This can include information about the visual layout of the template ("Three-column layout with large top banner") or its intended purpose ("Back to school promotion"). |
|
The absolute URL to a thumbnail image that shows a sample page or section that is based on the template. The images must be hosted on a Web server accessible from the Experience Manager server. Any URL without a protocol or leading slash will be treated as relative to the root of the template structure. If your thumbnail is in the same folder as your
|
For example,
"ecr:type": "template", "@group": "Page", "@description": "A page layout with left and right sidebars intended for general category pages", "@thumbnailUrl": "thumbnail.png",
Thumbnail images can help the content administrator identify the appropriate template to use for the pages they create.
The suggested size for thumbnail images is 81 x 81 pixels; smaller images are stretched to fill this size and larger images are cropped to show only the top left corner.
The images must be hosted on a Web server accessible from the Experience Manager server. If the thumbnail image for a template is either not specified or not accessible, a default image displays in the dialog box.