
Mango Masonry Gallery for Elementor
v1.0.0Shihab Ul Hoque · 2026年10月24日 上架
A lightweight masonry image gallery with a full-screen lightbox, as an Elementor widget and a shortcode.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 237
- 最近更新
- 2026年10月24日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
贡献者
截图
Mango Masonry Gallery adds a clean, responsive masonry gallery to your site. Images keep their natural aspect ratio and flow into columns, and clicking an image opens it in a full-screen lightbox.
Features:
- Elementor widget with a live masonry preview in the editor
- Responsive columns (1–6) for desktop, tablet and mobile
- Adjustable gap, corner radius and image size
- Full-screen lightbox with previous/next buttons, keyboard navigation (, , Esc) and an image counter
- Custom hover overlay, lightbox accent and lightbox background colors
- Accessible: keyboard-focusable images, ARIA labels, focus is returned after closing the lightbox
- No jQuery and no external libraries; CSS and JS load only on pages that show a gallery
- Works without Elementor through the
[mango_masonry_gallery]shortcode
Shortcode
[mango_masonry_gallery ids="12,34,56" columns="3"]
Available attributes:
ids– comma-separated attachment IDs (required)columns– desktop columns, 1–6 (default 3)columns_tablet– tablet columns (default: 2, or fewer ifcolumnsis lower)columns_mobile– mobile columns (default 1)gap– space between images, e.g.20px(default7px)radius– image corner radius, e.g.4px(default2px)size– registered image size used in the grid (defaultlarge)overlay– hover overlay color (defaultrgba(20,20,20,0.45))accent– lightbox controls color (default#d4b5a5)lightbox_bg– lightbox background color (defaultrgba(10,7,5,0.96))


