You can control the size of thumbnails and specify acceptable file types for images and
videos using the file-preview-config.xml.
About this task
The file-preview-config.xml file controls the size of thumbnails and
supports the acceptable image and video types in grid view and preview dialog.Procedure
- Navigate to the LCC?directory.
- Use the wsadmin LCConfigService.checkOutConfig command to check out the
file-preview-config.xml.
- Open the file-preview-config.xml in your preferred text editor.
- Review the default size values for previews in the thumbnail grid, gallery view, and detail
view in the <preview> section and change them if needed:
-<preview>
<thumbnailView height="73" width="73"/>
<galleryView height="132" width="200" textHeight="30"/>
<detailView height="450" width="450"/>
</preview>
- Review the default values for acceptable image formats in the <photos
section and change them if needed:
Note: The default list is the complete supported list.
-<photo>
-<supportedFileTypes>
<extension>jpg</extension>
<extension>jpeg</extension>
<extension>gif</extension>
<extension>png</extension>
</supportedFileTypes>
</photo>
- Review the default values for acceptable video formats in the <video>
section and change them if needed:
Note: The default list is the complete supported list.
-<video>
-<supportedFileTypes>
<extension>mp4</extension>
<extension>mov</extension>
<extension>flv</extension>
</supportedFileTypes>
</video>
- Be sure to save your changes.