To customize the icon used for a file type, you replace
the existing image file with a new one. All images that are used
by LiveCycle Contentspace are packaged in the contentservices.war
file. For file types, the image sizes you require are 16x16, 32x32,
and 64x64 pixels. Each size of image is located in one of the following
folders:
images/filetypes: Location that stores 16x16 pixel sized
images.
images/filetypES42: Location that storES42x32 pixel
sized images.
images/filteypes64: Location that stores 64x64 pixel
sized images.
You can determine the name of the image that you want to replace
by right-clicking the image in Contentspace and selecting Properties
in your web browser. Your web browser tells you the location of
the image on the server, which you can use to determine the location
of the file in the extracted contentservices.war file.
Depending on the view you select in Contentspace, different sized
icons are displayed for a file type. Different sized icons are stored
in different folders; therefore, when you replace an image for a
file type, you require different sized icons.
For example, if you right-click the image for a PDF file that
is stored as content, the image location in the Properties dialog
box may be a URL such as http://lcserver:8080/contentspace/images/filetypES42/pdf.gif.
You will need to replace the image file in the images/filetypES42
folder, but also the image files in the images/filetypes and images/filetypes64
folders. It is recommended that you back up the images before replacing
any of them in case you want to return to the original images.
The following procedure shows you how to replace the image used
for PDF file types.
To replace an icon used for a PDF file type:
Determine
the name and the location of the image that you want to replace
by right-clicking the image in Contentspace and selecting Properties in
your web browser.
For example, if you right-click the image
for a PDF file type in Contentspace, the URL may be http://lcserver:8080/contentspace/images/filetypES42/pdf.gif.
The name of the image file you must replace is pdf.gif.
Go to the root location in your development environment and replace
the image files with the name you determined in the previous step. You
must replace the image files in each of the following folders with
the listed sizes:
images/filetypes with a 16x16 pixel
image
images/filetypES42 with a 32x32 pixel image
images/filetypes64 with a 64x64 pixel image