1
I saw on the Dropbox website that my PDF extension files are displayed a preview of the first page of the file, I searched for solutions on the internet for it but saw that there are only ways to embed the PDF in iframe or using a google drive URL to display itlo, I would like to do the same on my website, but do not use these suggestions that displays everything, because there are many PDF’s and will be heavy loading the screen, I would like to know how to take this print of the first page of the PDF, as is done in Dropbox. The files are with the path saved in the database, the physical files in an upload page, on the website I make use of PHP, jQuery and CSS3.
Thank you.
gratitude William.
– ElvisP
In var canvas = Document.getElementById('the-canvas'); it should not be var canvas = Document.getElementById('meuCanvas'); ?
– ElvisP
@Eliseub. Yes, typo, sorry. Fixed ;)
– Guilherme Nascimento