Lightbox with PhotoSwipe
This plugin integrates PhotoSwipe to WordPress. All linked images in a post or page will be displayed using PhotoSwipe, regardless if they are part of a gallery or single images. More about the original version of PhotoSwipe see here: http://photoswipe.com You can also display EXIF data from support
About this tool.
This plugin integrates PhotoSwipe to WordPress. All linked images in a post or page will be displayed using PhotoSwipe, regardless if they are part of a gallery or single images.
More about the original version of PhotoSwipe see here: http://photoswipe.com
You can also display EXIF data from supported image types.
As of version 4.0.0 this plugin requires at least WordPress 5.3 and PHP 7.0. Older PHP version will cause problems. In this case you have to upgrade your PHP version or ask your hoster to do so. Please note that WordPress itself also recommends at least PHP 7.4 – see https://wordpress.org/about/requirements/ .
Please keep in mind: not the visible thumbnail is relevant, but only the image link. Images should always be linked to the file and not to the attachment page. Since version 5.6.1 there is an option to fix attachment links which can be enabled if needed – however this may slow down your website since then all links on a page will be checked if they are attachment links.
Screenshots & previews.
Getting started.
- 01Extract the contents of the package to the /wp-content/plugins/lightbox-photoswipe directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently asked questions.
Issues with “optimizing” plugins
The plugin uses JavaScript modules for PhotoSwipe 5. This will not work, if you use any kind of “JavaScript optimizing” with a WordPress plugin which combines all frontend scripts into one single file. Make sure that Lightbox with PhotoSwipe is excluded from any kind of “optimization”, otherwise the plugin may not work.
Using the plugin
All linked images in a post or page will be displayed using PhotoSwipe, regardless if they are part of a gallery or single images.