Thumbnail Plug-Ins
Thumbnail Plug-ins are based on Java classes and enable the generation of preview images for objects of certain MIME types.
The repository manager for thumbnails uses plug-ins stored in the configuration to generate preview images.
● The Java AWT (java.awt.*) libraries are installed on UNIX systems without X Windows for the plug-in images.
● On UNIX system, the following entry is listed for the headless mode in the Java VM settings:
-Djava.awt.headless=true
You make this setting in the SAP AS Java Engine Config Tool (see SAP Note 710146).
The plug-in for creating thumbnails of the data formats jpeg and gif is included in the standard delivery. If you want to use thumbnails for other file formats, you have to implement your own plug-ins.
The configuration of a plug-in includes the following parameters:
Parameters for Thumbnail Plug-Ins
Parameters |
Required |
Description |
Name |
Yes |
Name of the plug-in |
Java Class |
Yes |
Java class that implements the plug-in. |
Maximum File Size to Generate Thumbnail |
Yes |
Maximum size of a file from which a thumbnail can be generated. If this value is exceeded, the system does not generate a thumbnail from the file. Instead, it uses the default symbol. |
MIME Type List |
No |
Selection of MIME types that the plug-in supports. |
MIME Type Pattern |
No |
Comma-separated list of MIME type patterns that the plug-in supports. For example, image/jpeg, image/gif |
To create a new plug-in for thumbnails in the configuration, choose Content Management → Repository Managers → Thumbnail Plug-Ins.