To be honest, you don’t need the plugin. You can just modify the any “lightbox” plugin and add the AD codes