quarto-ext / lightbox

Create lightbox treatments for images in your HTML documents.
https://quarto-ext.github.io/lightbox/
MIT License
76 stars 4 forks source link

Cannot resize images anymore #5

Closed AlbertRapp closed 2 years ago

AlbertRapp commented 2 years ago

After including lightbox in my Quarto blog, chunk options like fig-width or out-width do not work anymore. Images are always included in full-size.

Even regular Markdown like ![](img.png){fig-align="center" width="70%"} does not react anymore. When I remove lightbox from _quarto.yml, everything works as expected again.

I've just run quarto update extension quarto-ext/lightbox on my blog project but the problem persists. My current workaround is to create a CSS grid manually.

::: {.grid}

::: {.g-col-6 .g-start-4}
![](img.png)
:::

:::
dragonstyle commented 2 years ago

Thank you for reporting this! This should be fixed in version 0.1.1 - run quarto update extension quarto-ext/lightbox to install the latest version.

AlbertRapp commented 2 years ago

Works perfectly. Thank you!