Linux 软件免费装
Banner图

SB Simple Photo Gallery Block for Gutenberg

开发者 souravws
更新时间 2026年5月1日 06:21
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

gallery photo gallery gutenberg masonry justified

下载

3.1.0

详情介绍:

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 Features 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.

安装:

From the WordPress Plugin Directory (recommended)
  1. Go to Plugins > Add New in your WordPress admin.
  2. Search for SB Simple Photo Gallery.
  3. Click Install Now, then Activate.
Manual Installation
  1. Download the plugin zip file.
  2. Go to Plugins > Add New > Upload Plugin.
  3. Upload the zip file and click Install Now.
  4. Activate the plugin from the Plugins page.
From Source
  1. Upload the sb-simple-photo-gallery folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.

屏幕截图:

  • Grid layout — clean equal-height responsive grid on the frontend.
  • Masonry layout — Pinterest-style columns with natural image proportions.
  • Justified layout — rows where all images share the same height and fill the full width.
  • Mosaic layout — featured hero image with supporting thumbnails.
  • Built-in lightbox with image counter, caption, and prev/next navigation.

升级注意事项:

3.1.0 Bug-fix release. Masonry, Mosaic, and Justified layouts now display correctly. Masonry is now the default layout for new galleries.

常见问题:

Which WordPress version is required?

WordPress 6.0 or higher is required. The plugin is built on modern Gutenberg block APIs.

Does it work with my theme?

Yes. The plugin outputs standard semantic HTML and scoped CSS. It has been tested with Twenty Twenty-Four and Twenty Twenty-Five. It should work with any well-coded WordPress theme.

Does it work with the Classic Editor?

No. This is a Gutenberg (Block Editor) plugin. The Classic Editor is not supported.

Does the lightbox work on mobile devices?

Yes. The lightbox supports touch swipe gestures to move between images on mobile and tablet devices.

Why does the Masonry layout briefly appear as a simple column layout?

The Masonry layout uses JavaScript to calculate and position items based on each image's actual dimensions. On first load, a CSS-columns fallback displays while JavaScript initialises. Once images are loaded the layout corrects itself. This is expected behaviour.

Can I show image captions?

Yes. Enable "Show Captions" in the block sidebar and choose between an overlay style (captions appear on hover) or a below-image style.

Is the plugin translation-ready?

Yes. All user-facing strings use WordPress i18n functions (__()) with the sb-simple-photo-gallery text domain.

Will it slow down my website?

No. Images use the browser-native loading="lazy" attribute. The frontend JavaScript is only loaded on pages that contain a gallery block. There are no external HTTP requests, no third-party fonts, and no tracking of any kind.

更新日志:

3.1.0 3.0.0 2.0.0 1.0.0