Support » Plugin: Wonder PDF Embed » Set Default Page Zoom

  • altenbplc

    (@altenbplc)


    Is it possible to change the default page zoom from ‘Automatic Zoom’ to another setting, such as to ‘Page fit’? I have a number of pdf embeds all with slightly different sizes, and it would be best if the dimensions of the embed remained universal while the pdfs were fitted to their respective bounding boxes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WonderPlugin

    (@wonderplugin)

    We have supported URL options in the latest version 2.6.

    After you upgrade the plugin to the new version 2.6, add #zoom=page-fit to the end of the page file URL.

    For example:

    [wonderplugin_pdf src="/your-pdf-file-url.pdf#zoom=page-fit" width="80%" height="600px" style="border:0;"]

    You can view the PDF.js document for all supported URL options: https://github.com/mozilla/pdf.js/wiki/Viewer-options

    jhansitavva

    (@jhansitavva)

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set Default Page Zoom’ is closed to new replies.