Open beatricelucaci opened 3 years ago
+1 https://wordpress.org/support/topic/pdf-appears-in-incorrect-very-small-lightbox/ This issue appears in multiple themes we support. Here’s a plain vanilla page with the plugin configured.
Test Issue with FancyBox for WordPress
When the linked image is clicked, the PDF appears incorrectly in a very small lightbox.
It seems like the iframe auto-sizing is not working correctly. I’m getting the exact same behavior as seen in the link in the original post above, where a tiny thumbnail pops up (https://staging.dunedinstone.co.uk/birchover-gritstone/#gallery). I tried the Health Check plugin as suggested with no luck, ended up disabling the Fancybox plugin to just have the PDFs open in a new window.
You need to add an image in the gutenberg page and after it you need to add a link on it (the link of the PDF). When you click on the image , the PDF should open, but unfortunately this is not happening.
https://wordpress.org/support/topic/pdf-not-resizing-properly/