-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF Preview in Dialog ? #1648
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if anyone has already done this or is interested, but I added some code in my version that generates a PDF preview if the document being uploaded is a PDF document. I'd have to go back and look what I actually did, but the result is like this:
Looks like it is in the FilesAdded event handler and requires adding:
<script src="/bower/pdfjs-dist/build/pdf.min.js"></script> <script src="/bower/pdfjs-dist/build/pdf.worker.min.js"></script>The text was updated successfully, but these errors were encountered: