quarto-ext / quarto-ext/lightbox
Problem with self contained document
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 83
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I was looking for a way to zoom on graph in quarto html output and I tried you extension today. Globally, it work well but there is a problem with self included website.
The extension doesn't seem to identify the self-contained option and while the graph can be see correctly in the document, if we click on it, the lightbox open without showing it. Also, I tried to open my picture in another windows but I it only show the message next: "Firefox ne peut trouver le fichier à l’adresse /E:/QUARTO/_site/samples_files/figure-html/unnamed-chunk-3-1.png".
I resolved it bysetting the self-contained to false option but if possible, I hope this will be corrected in a future version.
Thank you for your help.
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 tracing how the lightbox extension handles images in Quarto HTML output when the self-contained option is enabled. Reproduce the issue with a self-contained document and compare it with self-contained set to false. Done means clicking an embedded image opens it correctly in the lightbox without referring to a missing external file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, lua
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100