System - WT JSPhotoswipe
This plugin is designed especially for developers of Joomla! 4. Registers the Photoswipe package in the Joomla Web Resource Manager. Then you can use it in your extensions - components, modules, plugins.
Thanks to this plugin, you can start using Lightbox and Slideshow for photo gallery in your application, by simply writing in the code
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();n$wa->useScript('photoswipe')n->useScript('photoswipe-lightbox')n->useStyle('photoswipe');
PhotoSwipe support has been added to the Tennis Tournaments app == display player photos via Lightbox popup and Slideshow gallery.