ColorlibHQ / ColorlibHQ/fancybox-for-wordpress

PDF not resizing properly #15

Open
#101 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.