Preview not showing first page of PDF

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
ivan.todorovic
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Aug 20, 2013 6:21 am

Preview not showing first page of PDF

Post by ivan.todorovic » Wed Oct 02, 2013 3:10 pm

Hi there,
I have this problem with previewing PDF files. When I click preview tab,first page shows its content for a moment (or better, blinks for a moment), and then it disappears, leaving it blank. Other pages are shown correctly. Any suggestions?

jllort
Moderator
Moderator
Posts: 10501
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Preview not showing first page of PDF

Post by jllort » Fri Oct 04, 2013 10:20 am

Which browser are you using ?
Can you test in our online demo at demo.openkm.com

ivan.todorovic
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Aug 20, 2013 6:21 am

Re: Preview not showing first page of PDF

Post by ivan.todorovic » Fri Oct 04, 2013 1:18 pm

Problem appears in every browser. And on demo too...

http://demo.openkm.com/OpenKM/index.jsp ... a59e6182b4

gr87
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Oct 04, 2013 6:54 am

Re: Preview not showing first page of PDF

Post by gr87 » Fri Oct 04, 2013 2:07 pm

It also appears on the demo and in my configuration. If I scan 3 pages only the last one is shown. When I download the document, it's created properly and has the adequate watermark. The bug is also present on the upload feature. If I upload the same 3 paged document, only the last is shown.

I find it strange that the functionality does not work on the Demo either. Perhaps it has something to do with the Adobe player version of the display.
It would be really useful if any other users could confirm this problem.

jllort
Moderator
Moderator
Posts: 10501
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Preview not showing first page of PDF

Post by jllort » Sat Oct 05, 2013 9:11 am

Seems this file, for some reason has some problem with flexpaper. Try with zviewer will go right. Go to administration -> configuration parameters and change system.previewer to zviewer value ( flexpaper is better viewer but seems has some problem in this case and should try with zviewer ). Other option we got in professional version is use embeded pdf viewer into browser, in that case sure will go right ( this option is not still available in community version ).

gr87
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Fri Oct 04, 2013 6:54 am

Re: Preview not showing first page of PDF

Post by gr87 » Mon Oct 07, 2013 7:41 am

I can confirm this solution works. The previewer is not as nice as flexpaper, all the pages are not displayed together but page by page.

However, since it works, we'll probably leave it like that. I was suspecting the culprit was the document, but the document was created by the scanner at the client's side, which will be used for further documents and scanning. Also, only the 3 page documents seem to be a problem.

jllort
Moderator
Moderator
Posts: 10501
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Preview not showing first page of PDF

Post by jllort » Tue Oct 08, 2013 7:42 am

Could try take a look the problem more deeply. Changing some pdf2swf parameters conversion, seems the output doesn't like to flexpaper, can be some problem with compatibility etc... I think with pdf2swf there're some command to force adobe macromedia player 9 compatibility. I suggest investigate in that way changing pd2swf parameters.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests