Viewer in a lightbox

QuestionsCategory: PDF Light ViewerViewer in a lightbox
Marco asked 6 years ago
Dear support,
is there a way to show in the frontend only one page (or one image) and when you click it opens a lightbox (or a fullscreen mode) with the browsable pdf?
I would like NOT to include the browsable PDF into the page directly, how should I do?

Thank you.

1 Answers
support answered 6 years ago
Hello Marco,
PDF Light Viewer Pro Addon contains [pdf-light-viewer-popup] shortcode which you can use to create viewer in the popup ( demo: shortcode https://pdf-light-viewer.wp.teamlead.pw/popup-pdf-demo/ ). Shortcode can look like an image, button or any other html or text.
More info in the docs: https://pdf-light-viewer.wp.teamlead.pw/wp-content/plugins/pdf-light-viewer/documentation/index.html#advanced