What is the significance of "Reset preview and thumbnail file for Documents and Media" option?
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
This article is designed to show how to regenerate image and document previews in case they are corrupted or missing.
Resolution
To regenerate the previews:
- Navigate to Control Panel → Configuration → Server Administration.
- On the Resources tab, find to the Clean Up Actions at the bottom.
- Click Execute next to the Reset preview and thumbnail files for Documents and Media.
-
Reset preview and thumbnail files for Documents and Media" option clears/deletes the previews and thumbnails of files. It will not regenerate the preview because it could create performance issues when regenerating previews all at once.
Therefore, as soon as the user visits the page where document exists in the document and Media (or click on any document), Liferay will initiate the Preview and thumbnails generation of those files.
For best results, be sure to use ImageMagick and Ghostscript; here are the ImageMagick Configuration instructions that will guide you through generating previews and thumbnails.
Did this article resolve your issue ?