How can I control how a PDF embedded in a website is displayed?

Richard Cranium January 26, 2011
Whatsapp Pinterest

How can I control the zoom level and page an embedded PDF opens with?

  1. Richard Cranium
    June 23, 2011 at 5:57 pm

    Found an answer myself eventually.  HTML/CSS/Javascript cannot implement any control. The end-user can set a "preferred zoom level for displaying PDFs" but I can't rely on end user settings or change them.  However when creating the PDF (at least using the "official" Adobe software) the output size can be set.

    • Tina
      June 23, 2011 at 6:53 pm

      Thank you for the update, Richard!

  2. Rob Hindle2008
    February 9, 2011 at 11:35 pm might do the job. I've used scribd in the past, similar concept I think and that's OK but I don't like relying on an external site to serve my content. I guess I'm hoping to find something that "wraps" the PDF with some code on my server or in javascript on the client to provide scribd-like function.

  3. Anonymous
    January 27, 2011 at 4:44 pm

    My personal favourite tool for embeding documents is . although i've never looked in to controling zoom level, it does make it look good

  4. Mike
    January 26, 2011 at 7:51 pm

    You will have to look into the documentation of the plugin/tool/software you are using for embedding.

    If it is just a link to the PDF (like you can't controle it because the file is downloaded to the clients computer and viewing options are controlled by his/her PDF viewer.