For developpers
New version
Recommended
PhotoSwipePhotoSwipe

Photo Swipe - for developpers

Plugin register a PhotoSwipe bundle in Joomla Web Assets Manager. Then you can use it in your extensions.Detail informations
Version:
1.1.5
Developer:
Minion Interactive s.r.o.
Date added:
2022-07-16
Updated date:
2022-07-16
License:
Type
Free download
Includes:
P
Platform compatibility:
4
Tested:
J 4.1.4, Tennis Tournament 4.0.1, PHP 7.4
Sales price: zdarma
  (free)
PhotoSwipe
PhotoSwipe setup
PhotoSwipe code
PhotoSwipe JS

Reviews

There are yet no reviews for this product.

Product's documentation

Plugin for Joomla developers. It allows you to use PhotoSwipe anywhere in Joomla 4: in modules, components, plugins.

To do this in your code, use

$wa = Factory::getApplication()->getDocument()->getWebAssetManager();\n$wa->useScript('photoswipe')\n->useScript('photoswipe-lightbox')\n->useStyle('photoswipe');

At the moment, only the photoswipe the library is functional on the view.

It is also necessary to place the initialization and configuration JS into the view according to the documentation Doc PhotoSwipe

Example of embedded code in demo view (player photos in slideshow):


var lightbox = new PhotoSwipeLightbox({
	gallery: '#gallery-player',
	children: 'a',
	bgOpacity:  0.95,
	// dynamic import is not supported in UMD version
	pswpModule: PhotoSwipe 
});
lightbox.init();

Sample demo

Player photos are displayed in the Lightbox popup and Slideshow, all using the PhotoSwipe library (which is also part of the Phoca Gallery app, among others).

https://attour4.easy.minion.cz/hraci/4740-jiri-vanecek

Product Description

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.

Demo:

https://attour4.easy.minion.cz/hraci/4740-jiri-vanecek

PhotoSwipe support has been added to the Tennis Tournaments app == display player photos via Lightbox popup and Slideshow gallery.

You may also be interested in this/these product(s)

Product download

Virtual products for sale
plg_system_wtjsphotoswipe-1.1.5.zip

Subscription 6 months

Total amount of downloads 12

Download link when order confirmed

See what other bought with this Item