What is the significance of "Reset preview and thumbnail file for Documents and Media" option?

This article is designed to show how to regenerate image and document previews in case they are corrupted or missing.


To regenerate the previews:

  1. Navigate to Control Panel → Configuration → Server Administration.
  2. On the Resources tab, find to the Clean Up Actions at the bottom.
  3. Click Execute next to the Reset preview and thumbnail files for Documents and Media.
  4. 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.

0 人中有 0 人觉得有帮助