ColorlibHQ / ColorlibHQ/fancybox-for-wordpress
PDF not resizing properly #15
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 26
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
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/
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linked Gutenberg image-to-PDF behavior on the referenced staging page and review the plugin's Fancybox iframe/PDF handling. Done means clicking the linked image opens the PDF at the intended size instead of showing a tiny thumbnail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100