cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 4.0.d - no flash preview for PDF documents

orochvilato
Champ in-the-making
Champ in-the-making
OS : Ubuntu 11.10 amd64 (fresh install)
Alfresco 4.0.d  installed with alfresco-community-4.0.d-installer-linux-x64.bin (default options)

Hello,

I've trouble previewing PDF documents in Alfresco Share :
- doc, odt can be previewed
- preview of PDF documents only display a thumbnail of 1st page.
- no error messages in alfresco.log

I've checked calls to pdf2swf, it is called without errors when previewing doc or odt, but not called at all when previewing PDFs

Any ideas ?
3 REPLIES 3

orochvilato
Champ in-the-making
Champ in-the-making
Found it !

I had to set content.transformer.Pdf2swf.maxSourceSizeKBytes
in tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
to a higher value (1024kb by default).

My PDF files where too large (> 1024 kb)

jackjm
Champ in-the-making
Champ in-the-making
Thanks a lot for following up with the fix; this was the issue I was having as well

best regards

xiaoqunhua
Champ in-the-making
Champ in-the-making
I tried to succeed. It works fine.
Thank you!