Exceeded maximum preview size

Fixing error: Exceeded maximum preview size

   KB 24601        Last updated on 2024-01-20  




0.00
(0 votes)

Purpose

Unable to preview an attachment and getting error below:

Exceeded maximum preview size.JPG

Resolution

By default, maximum file preview only allows a document size of 20 MB. There is a separate attribute "zimbraFilePreviewMaxSize" available to control this maximum size.

User Specific
  • Check the value
zmprov ga <user@domain.com> zimbraFilePreviewMaxSize
  • Update the value
zmprov ma <user@domain.com> zimbraFilePreviewMaxSize 52428800

Note:- This will set the max. value of 50 MB.

  • Flush the account cache
zmprov fc account <user@domain.com>
COS Specific
  • Check the value
zmprov gc <cos_name> zimbraFilePreviewMaxSize
  • Update the value
zmprov mc <cos_name> zimbraFilePreviewMaxSize 52428800

Note:- This will set the max. value of 50 MB.

  • Flush the COS cache
zmprov fc cos <cos_name>


Submitted by: Ankit Dagdi
Verified Against: ZCS 10.0, ZCS 9.0 Date Created: 2024-01-20
Article ID: https://wiki.zimbra.com/index.php?title=Exceeded_maximum_preview_size Date Modified: 2024-01-20



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search