# 图像灯箱不支持手动调整大小或\[grid\]标签

**URL:** <https://meta.discourse.org/t/image-lightboxing-does-not-respect-manual-resizing-or-grid-tags/312535>\
**Category:** Bug\
**Tags:** lightbox\
**Created:** [2024 年6 月 18 日 11:05 UTC](https://meta.discourse.org/t/image-lightboxing-does-not-respect-manual-resizing-or-grid-tags/312535 "2024-06-18T11:05:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Obskyr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/obskyr/32/375733_2.png) [@Obskyr](https://meta.discourse.org/u/Obskyr)\
发布日期： [2024 年6 月 19 日 08:09 UTC](https://meta.discourse.org/t/image-lightboxing-does-not-respect-manual-resizing-or-grid-tags/312535/2 "2024-06-19T08:09:28Z")

</div>

我有一个想法： **有没有理由不将所有图片都放入灯箱？** 至少那些可以在移动设备上舒适地适应信息栏和小“展开”图标，而不会遮挡太多图片的图片。灯箱除了允许您查看全分辨率图像外，还有两个方面的价值：

- 它会显示替代文本（关键是，海报比标题文本更有可能提供替代文本，因为替代文本是预先填充的，而标题文本的语法更晦涩），并且
- 点击灯箱后在图像之间切换时，图像不会被省略。

有没有理由不将可以完整看到的图片放入灯箱？

一种选择可能是（除了将网格中的所有图片都放入灯箱外）将页面上所有大于某个尺寸的图片都放入灯箱——比如，大于 72×72 像素左右（我指的是行数——大约 3 行大小的任何东西）。你觉得怎么样？

---

_[View the full topic](https://meta.discourse.org/t/image-lightboxing-does-not-respect-manual-resizing-or-grid-tags/312535)._
