ColorlibHQ / fancybox-for-wordpress

WordPress plugin that integrates FancyBox into your blog
https://wordpress.org/plugins/fancybox-for-wordpress/
GNU General Public License v3.0
27 stars 21 forks source link

PDF not resizing properly #15 #101

Open beatricelucaci opened 3 years ago

beatricelucaci commented 3 years ago

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/

beatricelucaci commented 11 months 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.