Is it possible to disable Document Previews at the file extension level?
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.
Issue
- When generating document previews for PDF files using default portal.properties configurations, the total disk space being used can far exceed the size of the original PDF file.
- Is it possible to skip preview generation for PDFs only?
Resolution
- Unfortunately, it is currently not possible to disable the file preview generation at the file extension level.
- There is an existing Feature Request Ticket to implement a configuration that would allow document previews to be disabled or controlled based on a specific file extension: LPS-115329
Did this article resolve your issue ?