Gutenberg Gallery Blocks Lightbox

描述

This plugin transforms the Gutenberg gallery block into a lightbox with previous/next navigation. It was built to offer those who wish to present a series of images in lightbox/slider format with a simple, lightweight solution.

Installation

  • Install the plugin through the Install Plugins interface or by uploading the ggbl-lightbox folder to your /wp-content/plugins/ directory.
  • Activate the plugin.
  • Make sure you select “Media File” in the Link To dropdown menu for your galleries

Why did you make this plugin?

I haven’t found a lightbox that is optimized for Gutenberg galleries. Many generate their own gallery formats or contain unneccesary options. I wanted to build one that was as minimal as possible, while offering a functional and elegant experience.

評價

2023年11月9日
Great plugin, allowing me to quickly make a single or multiple images into a lightbox without having to download some ridiculously huge plugin that wants a monthly subscription or something nuts. Works well on mobile, and sure it does'nt have "swipe", but it has left/right arrows which work perfect. It's not meant to be bulky and fancy, just to provide the basic functionality that should already come with WordPress but does'nt. Thank you developer, you're a great help!
2023年1月17日 1 reply
Giving three stars because only half work is done when developing this plugin. On mobile, arrows get out of center and in general look a bit weird Also it is impossible to swipe to the next picture. Considering that these days very big part of the users are using mobile phones, those are critical issues.
2023年1月16日
Das Plugin macht genau, was der Titel verspricht. Bilder aus der Gutenberg Galerie öffnen sich in einem modalen Fenster, wie man es erwartet. Tiptop!
2022年12月6日 1 reply
Fantastic. It worked great. Enable the plugin, click on an image and enjoy a lightbox gallery.
2022年9月1日
Love a simple lightweight plugin that does just one thing and does it really well. This is perfect.
閱讀全部8個評價

貢獻者及開發者

“Gutenberg Gallery Blocks Lightbox” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Gutenberg Gallery Blocks Lightbox 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Gutenberg Gallery Blocks Lightbox 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

=1.2.3 =
* Tested for wp 6.5. Added

=1.2.2 =
* Changed lightbox to position:fixed to prevent unwanted scrolling. Props @Antahai

=1.2.1 =
* test for wp 6.0. Adds support for left/right arrow key navigation. Adds support for ESC key to close gallery.

=1.2 =
* test for wp 5.9. Works with updated wp-blocks-gallery class

=1.1 =
* Ensure that lightbox is above all other elements on the page

=1.0 =
* Initial Release.