Hi there, to open a standard WP gallery with a lightbox effect I would suggest using a plugin like this one – https://wordpress.org/plugins/lightbox-plus/