cancel
Showing results for 
Search instead for 
Did you mean: 

Preview functions in Linux

kerby
Champ in-the-making
Champ in-the-making
I installed Alfresco in linux, but preview function are not available. That means  documents uploaded can't be previewed and thumbnails are not generated.
There is REST API:
http://<servername>:8080/alfresco/service/api/node/workspace/SpacesStore/<id>/content/thumbnails/webpreview
Preview functions works well on windows, I don't know how to make it work on linux. Someone can help me?

I noticed that in repository.properties :
# External executable locations
ooo.exe=soffice
ooo.user=${dir.root}/oouser
img.root=./ImageMagick
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=./bin/pdf2swf
Shoud I install pdf2swf ? And how to config it to make preview functions work?
4 REPLIES 4

dward
Champ on-the-rise
Champ on-the-rise

jayjayecl
Confirmed Champ
Confirmed Champ
You should definitely install pdf2swf since webpreviews are Flash/FLEX components.

kerby
Champ in-the-making
Champ in-the-making
Please read http://wiki.alfresco.com/w/images/e/e4/ECM_InstallConfigure_CommunityEdition32.pdf

Search for ooo.exe

Thanks a lot!
I installed swftools, and ducuments with suffix .pdf .txt .jpg can be previewed. But *.doc and *.docx documents can not be previewed.
I haven't installed open office yet, is this the reason?

jayjayecl
Confirmed Champ
Confirmed Champ
absolutely.

Because of the "chain of transformations" :
Office document => OpenDocument (OpenOffice) document => PDF document => SWF document