The Custom Gutenberg Lightbox is designed to work with the Gutenberg editor. This custom block is designed to display images with Lightbox. The purpose of this plugin is to enable you to open photos via Lightbox if you choose to do so. This way, you are not going to have the trouble of opening all the photos mandatorily on the website via Lightbox.
- Upload 'custom-gutenberg-lightbox' to the '/wp-content/plugins/' directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
- Within a post or page, select the '+' symbol to add a new block.
- From the 'Custom Gutenberg' tab, select the 'Lightbox' block.
- Add your image and title to the block.
- Also you can resize your image
Clone or download this repository in your plugins directory. Then run the following scripts:
npm install
npm run dev