fraxzi Posted August 31, 2021 Share Posted August 31, 2021 Hi All, I would like to have a panel which display several PDF file as a Thumbnail. How can I do it with TUniPDFFrame? Thanks in advance. -Frances 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 31, 2021 Share Posted August 31, 2021 8 hours ago, fraxzi said: I would like to have a panel which display several PDF file as a Thumbnail. How can I do it with TUniPDFFrame? Hello, Need to analyze. 1 Quote Link to comment Share on other sites More sharing options...
fraxzi Posted September 20, 2021 Author Share Posted September 20, 2021 Hi @Sherzod Any update? Thanks, Frances Quote Link to comment Share on other sites More sharing options...
irigsoft Posted September 20, 2021 Share Posted September 20, 2021 3 hours ago, fraxzi said: Hi @Sherzod Any update? Thanks, Frances Did You try this: https://github.com/scandel/pdfThumbnails or : https://stackoverflow.com/questions/29375233/generate-a-thumbnail-of-pdf-file-in-html or : https://www.codegrepper.com/code-examples/javascript/generate+thumbnail+of+pdf+using+pf+js or : https://github.com/mozilla/pdf.js#online-demo Quote Link to comment Share on other sites More sharing options...
fraxzi Posted September 20, 2021 Author Share Posted September 20, 2021 Hi @irigsoft, Thanks for the Hint ... I will try it the best I could. With current TuniPDFFrame, I experienced random blank page (on display) but when I view the pdf with Chrome the pages are there. So I am trying out @Sherzod's example on using TUniHTMLFrame with 'pdfobject.js' ... relative to the above, I also need the sample thumbnail. Thanks! i will update (or request) once done. Kind regards, Frances Quote Link to comment Share on other sites More sharing options...
irigsoft Posted September 20, 2021 Share Posted September 20, 2021 19 minutes ago, fraxzi said: Hi @irigsoft, Thanks for the Hint ... I will try it the best I could. With current TuniPDFFrame, I experienced random blank page (on display) but when I view the pdf with Chrome the pages are there. So I am trying out @Sherzod's example on using TUniHTMLFrame with 'pdfobject.js' ... relative to the above, I also need the sample thumbnail. Thanks! i will update (or request) once done. Kind regards, Frances Do you want to use only uniPDFFrame or is a combination of uniHTMLFrame and uniPDFFrame possible? Quote Link to comment Share on other sites More sharing options...
fraxzi Posted September 20, 2021 Author Share Posted September 20, 2021 28 minutes ago, irigsoft said: Do you want to use only uniPDFFrame or is a combination of uniHTMLFrame and uniPDFFrame possible? HI @irigsoft, the uniPDFFrame has issues (same pdf file): the reason why I want to replace it with uniHTMLFrame. I wish to create thumbnail so pdf as big as 10mb will not be loaded unless thumbnail was "clicked" Thanks, Frances Quote Link to comment Share on other sites More sharing options...
irigsoft Posted September 20, 2021 Share Posted September 20, 2021 2 hours ago, fraxzi said: HI @irigsoft, the uniPDFFrame has issues (same pdf file): the reason why I want to replace it with uniHTMLFrame. I wish to create thumbnail so pdf as big as 10mb will not be loaded unless thumbnail was "clicked" Thanks, Frances Hello again, I make some try and here is it. Project6.zip I use this like base: https://mozilla.github.io/pdf.js/ https://github.com/mozilla/pdf.js/blob/master/examples/learning/helloworld.html how to use it on uniHTMLFrame maybe @Sherzod will help here. Quote Link to comment Share on other sites More sharing options...
fraxzi Posted September 21, 2021 Author Share Posted September 21, 2021 10 hours ago, irigsoft said: Hello again, I make some try and here is it. Project6.zip 5.09 MB · 0 downloads I use this like base: https://mozilla.github.io/pdf.js/ https://github.com/mozilla/pdf.js/blob/master/examples/learning/helloworld.html how to use it on uniHTMLFrame maybe @Sherzod will help here. Thanks much @irigsoft .. I downloaded it and will try to understand how to implement it. Regards, Frances Quote Link to comment Share on other sites More sharing options...
irigsoft Posted September 21, 2021 Share Posted September 21, 2021 3 minutes ago, fraxzi said: Thanks much @irigsoft .. I downloaded it and will try to understand how to implement it. Regards, Frances Maybe is something simple but my knowledge help me just to integrate js function, I hope this will help to start. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.