quarto-ext / quarto-ext/lightbox

feature request: different version of the image when zoomed

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
83
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I love this extension, thank you, I use it for R visualizations.

It would be nice to be able to show the same visualization but render it with a different figure-size when in the lightbox. E.g. fig-width=2 when small, fig-width=5 when zoomed. As far as I understand this isn't possible right now, but the GLightbox package does include the functionality to show a different image when zoomed.

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 inspecting the extension's existing lightbox integration and the GLightbox functionality for alternate images. Check how image sizing is currently passed through for R visualizations. Done means a visualization can use its normal figure size in the document and a different figure size when opened in the lightbox.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, r
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.