Creating custom icons by adding a file element | HCL Digital Experience
You can create custom images for items in the Page Components palette and Web content authoring interface by deploying the image file or multi-scale ZIP file directly into the item in the Page Components palette or Web content authoring interface as an element.
About this task
Note: In CF09, the Content palette
was renamed to Page Components palette, and the custom images feature
was extended to the Web content authoring interface.
- Supported image file formats are PNG, JPG, and SVG.
- If you are using multi-scale icons, the collection of images must be compressed into a ZIP file.
Procedure
- Click the Applications menu icon in the site toolbar.
- Click .
- To assign a custom image to a content item or a site area,
select the item and click Edit.
- You can also do the same in a content template or site area template to make this field available to content authors.
- Click the More menu.
- Click Manage Elements.
- In the Element type dropdown menu, select File.
- In the Name field, specify the name
of the new element as preview-image.
- Any content items, including items created prior to CF09, that include an element named preview-image will use the images stored in this element as the icon of the content item in the Web content authoring interface.
- Click Add.
- Click OK to exit the Element Manager window.
- Upload the compressed file or image file for the preview-image resource element.
- Click Save and Close.
- Clear your browser cache and refresh the page for the changes to take effect.