Open images in lightbox
What does this MR do and why?
Adds support for images added in GLFM to open in lightbox, rather than in a new page.
References
Closes #377398 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
| Clicking an image navigates to the image | ![]() |
|
How to set up and validate locally
- Enable
:image_lightboxes - Add one or more images to any GLFM enabled context, such as an issue or MR description, a wiki page, or a comment.
- Click the image to open in a lightbox
- If you added >1 image, use the arrows or left/right keys to traverse
- Click again to close (or esc)
Test error state by adding <a href="test.png"><img /></a> to a description then clicking the resulting block.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Nick Leonard

