-
I would like to utilize the attribution list expansion to display images alongside text. The issue I face is, that the images are often too large in one dimention (either width which makes them not next to the text or height which may change things like headers) I was now wondering if I can use certain attributes to change the size of the image and to also make them expand into their full resolution (Show in a glowbox or what it is called) when you click on them. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
There's currently no out-of-the-box lightbox gallery solution, but there are many issues where people shared their solutions. Attributes (like size) can be changed using the attribute list extension, which can also be used to align images. This extension can also be used to attach classnames to images to select them for displaying with a third party lightbox plugin. |
Beta Was this translation helpful? Give feedback.
-
I personally use lightgallery-markdown Markdown extension. See for yourself : Sans.titre.mov |
Beta Was this translation helpful? Give feedback.
-
@squidfunk do you plan to integrate similar functionality directly to your mkdocs theme? |
Beta Was this translation helpful? Give feedback.
-
@squidfunk in your site on click on the image, in example in this page, you have the image opened. How to have this behaviour? Thank you |
Beta Was this translation helpful? Give feedback.
-
@Andre601 is it the solution that @squidfunk use in his site? Thank you |
Beta Was this translation helpful? Give feedback.
-
It could be done by mkdocs-glightbox. |
Beta Was this translation helpful? Give feedback.
I personally use lightgallery-markdown Markdown extension.
See for yourself :
Sans.titre.mov