PDF in Lightbox

Forums Easy FancyBox Pro PDF in Lightbox

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #6215
      Stephan Zurfluh
      Participant

      Hello

      Where is my mistake, I get an empty page:

      Iranreise 2 Wochen

      Thanks. Stephan

    • #6216
      Rolf
      Keymaster

      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,
      Rolf

    • #6217
      Stephan Zurfluh
      Participant

      Hello

      I try it.

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

      Thanks.

      Stephan

    • #6221
      Pharéo
      Keymaster

      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.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.