With this awesome plugin you can build your gallery in 1 minute with Gutenberg.
Teamvision - Team Addons for WPBakery Page Builder for WordPress