WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Easy FancyBox - PDF Document Properties (6 posts)

  1. Allimaple
    Member
    Posted 1 year ago #

    Hello, attempted searching the Plugin support forum here on WordPress.org, but the search functionality is severely lacking, thus please forgive me if this question has previously been answered.

    Q; Is there any manner in which the Easy FancyBox window will correctly inherit the PDF's document properties, i.e. fit-page, show bookmarks, single-page nav, etc which are saved within the PDF document upon creation?

  2. RavanH
    Member
    Posted 1 year ago #

    Hi,

    I would suggest to use the iFrame option to display PDF files to prevent some preset options getting in the way. Disable the PDF option in the FancyBox settings and enable the iFrame option. Then format the link in your page/post like this:

    <a href="http://url.to/your.pdf" class="fancybox-iframe">link</a>

    After that, it's all up to the browsers PDF viewer plugin to ignore or honor any options saved into the PDF file...

  3. Allimaple
    Member
    Posted 1 year ago #

    Awesome thank you so much, the PDF's are now inheriting the correct Document Properties set in Acrobat.

  4. Allimaple
    Member
    Posted 1 year ago #

    Update: the fix offered works in both FireFox 18.0.2 and Internet Explorer 9.0.8..

    ...but does not seem to work in Chrome 24.0.1312.57

  5. RavanH
    Member
    Posted 1 year ago #

    It's all up to the browser plugin.

    In Chrome's case, it is probably using its own plugin instead of the Acrobat Reader plugin by Adobe. Go to the URL chrome://plugins in your Chrome browser and you'll probably see "Chrome PDF Viewer" activated there.

    In any case, there is nothing more I can tell you about this stuff. Sorry. Maybe someone has found a way to make (some of) these properties pass to the Chrome PDF Viewer but you'll have to look elsewhere for that. Sorry.

  6. Allimaple
    Member
    Posted 1 year ago #

    I am not too concerned over Chrome, and it mas just more of an FYI, for anyone ion the future searching for a solution.

    Thank you so much for your help, it is very much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic