cancel
Showing results for 
Search instead for 
Did you mean: 

Quota of Picture

zyx974_
Confirmed Champ
Confirmed Champ

Hi,

I use quota module (release 5.6.0-HF22) and i have problem with Picture document (JPG, PNG... files). The computed size for thoses files seems wrong.

When I upload a 777kB jpg file, DM shows effectively 777kB (Blob) but the quota module show, beneath the title, 2,41MBytes.

The others types of documents (Word, PDF...) don't suffer this problem.

1 ACCEPTED ANSWER

zyx974_
Confirmed Champ
Confirmed Champ

Ok I found the reason why : by default quota compute the size of each view of the Picture (Original, thumbnail...).

To prevent this, you have to declare exclusions with this extension point :

<extension target="org.nuxeo.ecm.quota.size.QuotaSizeService" point="exclusions">
    <exclude path="views/*/content"></exclude>
</extension>

Now size are equals.

View answer in original post

1 REPLY 1

zyx974_
Confirmed Champ
Confirmed Champ

Ok I found the reason why : by default quota compute the size of each view of the Picture (Original, thumbnail...).

To prevent this, you have to declare exclusions with this extension point :

<extension target="org.nuxeo.ecm.quota.size.QuotaSizeService" point="exclusions">
    <exclude path="views/*/content"></exclude>
</extension>

Now size are equals.

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.