跳到内容

SB Simple Photo Gallery Block for Gutenberg

v3.1.0

Sourav Biswas · 2026年4月30日 上架

A responsive photo gallery block for Gutenberg with Grid, Masonry, Justified & Mosaic layouts plus a built-in lightbox.

正在使用
10+
评分
3.0 / 5
累计下载
389
最近更新
2026年5月1日
1 条评价需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

The gallery block in the Gutenberg editor with the visual layout picker and sidebar controls.
The gallery block in the Gutenberg editor with the visual layout picker and sidebar controls.
Grid layout — clean equal-height responsive grid on the frontend.
Grid layout — clean equal-height responsive grid on the frontend.
Masonry layout — Pinterest-style columns with natural image proportions.
Masonry layout — Pinterest-style columns with natural image proportions.
Justified layout — rows where all images share the same height and fill the full width.
Justified layout — rows where all images share the same height and fill the full width.
Mosaic layout — featured hero image with supporting thumbnails.
Mosaic layout — featured hero image with supporting thumbnails.
Built-in lightbox with image counter, caption, and prev/next navigation.
Built-in lightbox with image counter, caption, and prev/next navigation.
SB Simple Photo Gallery Block for Gutenberg
SB Simple Photo Gallery Block for Gutenberg

SB Simple Photo Gallery adds a powerful yet easy-to-use photo gallery block to the WordPress Gutenberg editor. Select your images from the Media Library and display them in four stunning layout styles — all without writing a single line of code.

Layout Styles

  • Grid — Clean, equal-height responsive grid
  • Masonry — Pinterest-style columns that respect each image’s natural proportions
  • Justified — Google Photos-style rows where every image shares the same height and fills the full width
  • Mosaic — Featured-image layout with a large hero photo and supporting thumbnails

Features

  • Built-in lightbox with smooth prev/next navigation
  • Caption support — overlay on hover or below each image
  • Adjustable columns (1–6), gap, image height, and border radius
  • Wide and full-width block alignment support
  • Full keyboard navigation (Arrow keys and Escape)
  • Lazy loading for better page performance
  • No jQuery — lightweight vanilla JavaScript only
  • No external libraries or third-party dependencies
  • Translation-ready with full i18n support

How It Works

  1. Install and activate the plugin.
  2. Open any post or page in the Gutenberg editor.
  3. Click the block inserter (+) and search for SB Simple Photo Gallery.
  4. Select your images from the WordPress Media Library.
  5. Choose a layout and adjust settings in the Block sidebar.
  6. Save and publish.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums