# \#lightbox

**URL:** https://meta.discourse.org/tag/lightbox/644.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Improve convenience in setting of auto-grid less than 3 images](https://meta.discourse.org/t/improve-convenience-in-setting-of-auto-grid-less-than-3-images/406731)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 6\
**Last updated:** [July 10, 2026, 5:58am UTC](https://meta.discourse.org/t/improve-convenience-in-setting-of-auto-grid-less-than-3-images/406731 "2026-07-10T05:58:34Z")

</div>

Configurable minimum image count for automatic image grids I have run into a limitation with the automatic image grid feature. At the moment, the auto-grid behaviour appears to be controlled by the site setting for auto…

---

## [PhotoSwipe new icons visual collision](https://meta.discourse.org/t/photoswipe-new-icons-visual-collision/404167)

<div class="topic-metadata">

**Author:** [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**Replies:** 1\
**Last updated:** [June 2, 2026, 6:12pm UTC](https://meta.discourse.org/t/photoswipe-new-icons-visual-collision/404167 "2026-06-02T18:12:04Z")

</div>

An unfortunate visual collision between the screenshot content and the Discourse lightbox UI overlay: This is a new issue. Previously, the download original text was below the images. It has been changed to icons in …

---

## [Grid Lightbox images show in wrong order](https://meta.discourse.org/t/grid-lightbox-images-show-in-wrong-order/402817)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**Replies:** 1\
**Last updated:** [May 13, 2026, 9:16am UTC](https://meta.discourse.org/t/grid-lightbox-images-show-in-wrong-order/402817 "2026-05-13T09:16:40Z")

</div>

When you use a grid, and click the first item then use the arrow keys to toggle through them, instead of going in the order in which you uploaded them it goes in a different order. Try it below: It goes: 1, 3…

---

## [Photos are display in half in chrome, PWA, Edge and Incognito Mode](https://meta.discourse.org/t/photos-are-display-in-half-in-chrome-pwa-edge-and-incognito-mode/387639)

<div class="topic-metadata">

**Author:** [@Eman\_Ahmed](https://meta.discourse.org/u/Eman_Ahmed)\
**Replies:** 22\
**Last updated:** [February 17, 2026, 10:52am UTC](https://meta.discourse.org/t/photos-are-display-in-half-in-chrome-pwa-edge-and-incognito-mode/387639 "2026-02-17T10:52:53Z")

</div>

We need your support to fix the issue of having the pictures displayed in half# This appears in edge, chrome and even incognito mode We are using the open source discourse

---

## [FIX: use full image for lightbox zoom when thumbnail aspect ratio differs](https://meta.discourse.org/t/fix-use-full-image-for-lightbox-zoom-when-thumbnail-aspect-ratio-differs/394156)

<div class="topic-metadata">

**Author:** [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)\
**Replies:** 1\
**Last updated:** [January 29, 2026, 4:09pm UTC](https://meta.discourse.org/t/fix-use-full-image-for-lightbox-zoom-when-thumbnail-aspect-ratio-differs/394156 "2026-01-29T16:09:12Z")

</div>

For these steps: Using a grid to cover two posts, and manually set the width of these two photos, like: \[grid\] !\[IMG\_2938|345x265\](upload://bM6E67BaB4LjgBYEZfZ74Uc0jXd.jpeg) !\[IMG\_2939|345x265\](upload://4qZSYjyvDA7ldGQ…

---

## [Let's talk about pictures, quoting pictures in Discourse](https://meta.discourse.org/t/lets-talk-about-pictures-quoting-pictures-in-discourse/389563)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 13\
**Last updated:** [November 26, 2025, 10:08am UTC](https://meta.discourse.org/t/lets-talk-about-pictures-quoting-pictures-in-discourse/389563 "2025-11-26T10:08:49Z")

</div>

We just made a small quality of life change to the new lightbox. At the top of the lightbox is a new icon :speech\_balloon: Try it here :up\_arrow: When you click it you will quote the image you are looking at and in…

---

## [No Lightbox for some resized images](https://meta.discourse.org/t/no-lightbox-for-some-resized-images/349411)

<div class="topic-metadata">

**Author:** [@packman](https://meta.discourse.org/u/packman)\
**Replies:** 5\
**Last updated:** [November 3, 2025, 9:03pm UTC](https://meta.discourse.org/t/no-lightbox-for-some-resized-images/349411 "2025-11-03T21:03:08Z")

</div>

A user uploaded two similar images, one 1172x103 and the other 1180x82 pixels. I have my thumbnailing sizes set to 350x200 so these were both too big and resized to 350x30 and 350x24 pixels respectively. When the post is…

---

## [An updated lightbox for better image viewing](https://meta.discourse.org/t/an-updated-lightbox-for-better-image-viewing/386548)

<div class="topic-metadata">

**Author:** [@lindsey](https://meta.discourse.org/u/lindsey)\
**Replies:** 7\
**Last updated:** [November 1, 2025, 5:15am UTC](https://meta.discourse.org/t/an-updated-lightbox-for-better-image-viewing/386548 "2025-11-01T05:15:35Z")

</div>

We recently introduced an updated lightbox, built using PhotoSwipe, to improve the experience of viewing images and related files on Discourse. This new functionality has been rolled out across all our communities, so yo…

---

## [I uploaded some images to the post via the API, why do only some images have the lightbox effect?](https://meta.discourse.org/t/api/385834)

<div class="topic-metadata">

**Author:** [@昊毅\_周](https://meta.discourse.org/u/%E6%98%8A%E6%AF%85_%E5%91%A8)\
**Replies:** 4\
**Last updated:** [October 27, 2025, 8:50am UTC](https://meta.discourse.org/t/api/385834 "2025-10-27T08:50:09Z")

</div>

Please see this post. I uploaded some images using an automation script via the admin API. However, only a small portion of the images have a lightbox effect. The width, height, and aspect ratio of the images are all the same.

---

## [New Discourse Lightbox Enabled on Meta - now disabled](https://meta.discourse.org/t/new-discourse-lightbox-enabled-on-meta-now-disabled/277810)

<div class="topic-metadata">

**Author:** [@davidb](https://meta.discourse.org/u/davidb)\
**Replies:** 18\
**Last updated:** [July 12, 2025, 1:12am UTC](https://meta.discourse.org/t/new-discourse-lightbox-enabled-on-meta-now-disabled/277810 "2025-07-12T01:12:22Z")

</div>

:warning: This has been disabled as of 2023-09-25T16:00:00Z (UTC) :warning: We have enabled the experimental setting enable\_experimental\_lightbox on Meta. This is part of our ongoing efforts to improve your user experien…

---

## [Custom Lightbox - modern, swipe gestures, fullscreen mode and more](https://meta.discourse.org/t/custom-lightbox-modern-swipe-gestures-fullscreen-mode-and-more/225797)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**Replies:** 16\
**Last updated:** [May 14, 2025, 7:16am UTC](https://meta.discourse.org/t/custom-lightbox-modern-swipe-gestures-fullscreen-mode-and-more/225797 "2025-05-14T07:16:28Z")

</div>

:eyeglasses: Preview Theme Creator :hammer\_and\_wrench: Repository GitHub - VaperinaDEV/discourse-custom-lightbox · GitHub :question: Install Guide How to install a theme or theme component :open\_book: Ne…

---

## [Lightbox generates invalid HTML structure (div inside p) causing display errors](https://meta.discourse.org/t/lightbox-generates-invalid-html-structure-div-inside-p-causing-display-errors/360706)

<div class="topic-metadata">

**Author:** [@panic](https://meta.discourse.org/u/panic)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 3:50am UTC](https://meta.discourse.org/t/lightbox-generates-invalid-html-structure-div-inside-p-causing-display-errors/360706 "2025-04-10T03:50:05Z")

</div>

Lightbox generates a \<div\> tag for every image, but div tags cannot be inside p tags (in HTML-spec-speak, the content model for \<p\> is phrasing content, which does not include \<div\>). This causes browsers to make these d…

---

## [Clicking on an image inside a footnote doesn't trigger the lightbox](https://meta.discourse.org/t/clicking-on-an-image-inside-a-footnote-doesnt-trigger-the-lightbox/355223)

<div class="topic-metadata">

**Author:** [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Replies:** 2\
**Last updated:** [March 1, 2025, 8:53pm UTC](https://meta.discourse.org/t/clicking-on-an-image-inside-a-footnote-doesnt-trigger-the-lightbox/355223 "2025-03-01T20:53:03Z")

</div>

When clicking on an image inside a footnote, it doesn’t open the lightbox; instead, the browser opens the image in the same window. Here is an example \[1\] ↩︎

---

## [Image lightboxing does not respect manual resizing or \[grid\] tags](https://meta.discourse.org/t/image-lightboxing-does-not-respect-manual-resizing-or-grid-tags/312535)

<div class="topic-metadata">

**Author:** [@Obskyr](https://meta.discourse.org/u/Obskyr)\
**Replies:** 4\
**Last updated:** [November 30, 2024, 10:22pm UTC](https://meta.discourse.org/t/image-lightboxing-does-not-respect-manual-resizing-or-grid-tags/312535 "2024-11-30T22:22:32Z")

</div>

Priority/Severity: Low. Platform: Confirmed in Firefox 127.0 on Windows 10 and Chrome 125.0.6422.165 on Android 14. Description: See below. Reproducible steps: Upload an image with a resolution of 690×500 pixels or lo…

---

## [Lightboxed images do not have \`vertical-align\` set, misaligning them with naked \`img\`s](https://meta.discourse.org/t/lightboxed-images-do-not-have-vertical-align-set-misaligning-them-with-naked-img-s/312553)

<div class="topic-metadata">

**Author:** [@Obskyr](https://meta.discourse.org/u/Obskyr)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 9:16pm UTC](https://meta.discourse.org/t/lightboxed-images-do-not-have-vertical-align-set-misaligning-them-with-naked-img-s/312553 "2024-06-18T21:16:28Z")

</div>

Priority/Severity: Low. Platform: Confirmed in Firefox 127.0 on Windows 10 and Chrome 125.0.6422.165 on Android 14. Description: See below. Reproducible steps: Place two images, one with a resolution of above 690×500 …

---

## [Discourse Lightbox - Migrating away from Magnific popup](https://meta.discourse.org/t/discourse-lightbox-migrating-away-from-magnific-popup/251505)

<div class="topic-metadata">

**Author:** [@Johani](https://meta.discourse.org/u/Johani)\
**Replies:** 5\
**Last updated:** [September 5, 2023, 7:10am UTC](https://meta.discourse.org/t/discourse-lightbox-migrating-away-from-magnific-popup/251505 "2023-09-05T07:10:27Z")

</div>

Discourse allows users to upload images in posts (and other places). Sometimes those images are too big to display, so Discourse creates a scaled version of the image and adds that to the post. When you click on that sca…
