cancel
Showing results for 
Search instead for 
Did you mean: 

How to config Alfresco documents preview size limit on 4.2.d

mukata69
Champ in-the-making
Champ in-the-making
Hi Everyone,

I can't preview .docx files that larger than 250KB on Alfresco 4.2.d,
And alfresco not generate thumbnails for document(.docx) that size larger than 800KB (see attachment).
I think it's because content.transformer configuration.

On Alfresco 4.2.c I can increase .doc/.docx preview size by add below config to "alfresco-global.properties" or "repository.properties" and restart alfresco.

content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.doc.swf.maxSourceSizeKBytes=5120
content.transformer.OpenOffice.Pdf2swf.mimeTypeLimits.docx.swf.maxSourceSizeKBytes=5120


But on 4.2.d this configuration does not work.
I've search for configuration in "repository.properties" and this config is missing too.

Please Help.

- Alfresco 4.2.d + pgsql9.2 clean install on Ubuntu Server 12.04 LTS


3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
Try following setting if you enable OOoDirect

content.transformer.complex.OpenOffice.Pdf2swf.extensions.doc.swf.maxSourceSizeKBytes=5120
content.transformer.complex.OpenOffice.Pdf2swf.extensions.docx.swf.maxSourceSizeKBytes=5120


Try following setting if you enable OOoJodConverter

content.transformer.complex.JodConverter.Pdf2swf.extensions.doc.swf.maxSourceSizeKBytes=5120
content.transformer.complex.OpenOffice.Pdf2swf.extensions.docx.swf.maxSourceSizeKBytes=5120

mukata69
Champ in-the-making
Champ in-the-making
Thank you Douglascrp & Kaynezhang,
Your Guide solved my problem.



Note : Kaynezhang's Config override configuration from "(Alfresco_Root)/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Transformers/default/transformers.properties"