WordPress.org

Forums

Easy FancyBox
[resolved] open pdf in Easy fancy box (2 posts)

  1. dsg257
    Member
    Posted 1 year ago #

    Trying to use fancy box to open a pdf file this is the code
    <a class="nofancybox fancybox-iframe" href="https://docs.google.com/gview?url=http://localhost:47577/wp-content/uploads/2013/06/Alexander-Graham-Bell-and-the-Garfield-Assassination.pdf&embedded=true">Open in iFrame with Google Docs Viewer</a>
    and this is what is displayed on the screen

    Sorry, we were unable to find the document at the original source. Verify that the document still exists.

    You can also try to download the original document by clicking here.

    if I click the link the pdf opens in the fancy box

    not got a clue how to get the file to open automatically without clicking the "here " link

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    Localhost is not publicly available. You can access it from your computer but no one else can. It must be public.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic