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 as a file component
in a library. Then, put a component reference element into your item
that refers to that file component.
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 .
- Navigate to the library where you want to store the image
as a file component.
- Click .
- Enter a unique name for the new component. For
example, my_icon.
- Upload the file and click Save and Close.
- To assign a custom image to a content item or a site area,
select the content 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 Component Reference.
- In the Name field, specify the name
of the new element as preview-image.
- Click Add.
- Click OK to exit the Element
Manager window.
- Click Select Component for the my_icon component
reference. The Select a component window
displays.
- Navigate to the library where you saved the my_icon component
reference.
- Select the my_icon file
component.

- Any content items, including items created prior to CF09, that
include an element named preview-image will
use the images stored in the selected component as the icon of the
content item in the Web content authoring interface.
- Click OK.
- Click Save and Close.
- Clear your browser cache and refresh the page for the changes
to take effect.