Add Lightbox to book down

Viewed 122
1 Answers

I don't have knowledge of lightbox. But to enlarge images with a click I'm using a small and large version of the image. In Rmd files I use the link [![Click me](image-small.jpg)](image-large.jpg). The large image is my normal format and the small formats are created with library magick. And mostly my diagrams are created with library DiagrammeR, svg format for HTML output and png for PDF output.

Related