cancel
Showing results for 
Search instead for 
Did you mean: 

No preview of docx and doc files

sparcle
Champ in-the-making
Champ in-the-making
In Share I have no preview of doc, odt and docx files. I can preview pdf files and images.

I have OpenOffice 3.2 installed and in Explorer I can transform files from one format to another (for example docx -> pdf) correctly.
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
MAke sure you've also got pdf2swf and ImageMagick on the server too.

Thanks,
Mike

sparcle
Champ in-the-making
Champ in-the-making
I installed both ImageMagick and Swftools. I did it according to docs I had found in Internet and Wiki. While the installation went without errors - I am not 100% sure if I did it right. How can I verify the installation of Swftools and ImageMagick? My OS is Centos 5.5.

Jakub Sanecki

sparcle
Champ in-the-making
Champ in-the-making
Indeed - I had not set up the proper paths to "swf.exe" and "img.root" in properties file. Now there is a progress - I can preview all the pages of PDF file. But when I try to preview docx file I can see the preview area is loading, but after a while the text "The preview could not be loaded from the server" is displayed.
———————————————————————

After adding "/" at the end to "img.root" path I get file preview working correctly. Thank You for help MikeH!

ssaravanan
Champ in-the-making
Champ in-the-making
I have the same issue with Community v3.3.0 (g 2860) schema 4,100
Environment
OS - Centos 5.4
MySql Server version: 5.0.77

ooo.exe=/opt/openoffice.org3/program/soffice
swf.exe=/usr/local/bin/pdf2swf
ooo.enabled=true
img.root=/usr
I can can run the convert command, which is part of ImageMagick and usually located in /usr/bin
I could run the /usr/local/bin/pdf2swf command from command line
And there's no errors in the logs regarding openoffice or imagemagick

ssaravanan
Champ in-the-making
Champ in-the-making
Upgrade of OpenOffice to 3.2.1 which is the latest version, fixed the issue.