Thumbnail Image Configuration
In Fess, you have the option to display thumbnail images in search results. Thumbnail images are generated based on the MIME type of the search result. If the MIME type is supported, thumbnail images are automatically generated when displaying search results. You can configure the process of generating thumbnail images for different MIME types.
To enable the display of thumbnail images, log in as an administrator, go to the General Settings, and enable the Thumbnail Display option. Don’t forget to save your changes.
Thumbnail images for HTML files utilize images specified within the HTML document or images contained within it. Thumbnail images are determined based on the following criteria, in order:
The value of the content attribute in the meta tag with the name attribute set to “thumbnail.”
The value of the content attribute in the meta tag with the property attribute set to “og:image.”
An img tag with an image of an appropriate size for a thumbnail.
Thumbnail images for MS Office files are generated using LibreOffice and ImageMagick. Thumbnail generation requires the unoconv and convert commands to be installed.
For Redhat-based operating systems, install the following packages to enable image creation:
$ sudo yum install unoconv libreoffice-headless vlgothic-fonts ImageMagick
When installed via RPM/Deb packages, the script for generating MS Office thumbnails is located at /usr/share/fess/bin/generate-thumbnail.
Thumbnail images for PDF files are generated using ImageMagick. Thumbnail generation requires the convert command to be installed.
To disable thumbnail jobs, follow these steps:
In the admin panel, navigate to System > General, uncheck the “Thumbnail Display” option, and click “Update.”
Restart the Fess service.