PDF in Lightbox

Your Account / Forums / Easy FancyBox Pro / PDF in Lightbox


  • Author
    • March 9, 2016 at 4:38 pm #6215


      Where is my mistake, I get an empty page:

      Iranreise 2 Wochen

      Thanks. Stephan

    • March 9, 2016 at 4:38 pm #6216

      Hi Stephan,

      Welcome on these forums 🙂

      To show a PDF in a light box, you can do the following:
      1. Enable the PDF option on Settings > Media, save and make sure the Autodetect option in the new PDF section is checked.
      2. Edit your page/post and create a link to your PDF file. If you uploaded the PDF to your WordPress library, just insert it like you would insert an image. This will create a link to the file and if the auto-detect from Easy FancyBox is working like it should, the link (when clicked) will automatically open in a light box.

      If this does not work like expected, please send me a link to the page where you are trying to make it work. I may be able to help you further with more specific pointers 🙂

      Kind regards,

    • March 9, 2016 at 4:38 pm #6217


      I try it.

      I sent by mail, because I can not copy images in this forum.



    • March 9, 2016 at 4:38 pm #6221

      Hi Stephan,

      I notice the link address you are using is http://irantours.ch/wp-admin/upload.php?item=36 which is not a valid media file location. Trying to access that URL, visitors will get the login form instead of any media from your library.

      Use the public media URL. You can find it by going into your WordPress Media Library, click the media item there. A box Attachment Details will open. Copy the content of the URL field on the right.

      Now go back to the page and open it for editing. Click the linked image and click the pencil icon to edit it. Paste the URL in the “Custom URL” field and save.

  • You must be logged in to reply to this topic.