Page 1 of 1

VIEWING JPEG AND SOME PDF DOCUMENTS?

PostPosted:Tue Jun 14, 2022 9:41 am
by angel perez
good morning,
Please help me I HAVE INSTALLED OPENKM ON WINDOWS 10
BUT I FOUND A PROBLEM AT THE TIME OF VIEWING
JPEG AND SOME PDF DOCUMENTS

Re: VIEWING JPEG AND SOME PDF DOCUMENTS?

PostPosted:Sun Jun 19, 2022 4:43 pm
by jllort
Take a look in your openkm.log fle ( into tomcatXXX/logs folder ), should be shown some stack trace error. Please share in a txt file the error.

Re: VIEWING JPEG AND SOME PDF DOCUMENTS?

PostPosted:Tue Jun 28, 2022 1:38 pm
by eduslepetys
Hi Angel,
I had problems with jpeg format (not with pdf), and the problem was with ImageMagick. I run OKM on Ubuntu.
1st, check if you can run "convert "command at Win command terminal. Maybe you have to add it to the PATH.
2nd, you may check ImageMagic police.xml file.
if you have
<policy domain="coder" rights="none" pattern="PDF" />
change to
<policy domain="coder" rights="read|write" pattern="PDF" />