Blazy PhotoSwipe
Categories
Component ID
2829380
Component name
Blazy PhotoSwipe
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
3132
Component created
Component changed
Component body
Provides a simple Blazy PhotoSwipe integration.
Requirements
- PhotoSwipe
- Blazy (Beta6+)
Features
- Vanilla JavaScript, no jQuery required.
- Has no formatter, instead integrated into "Media switcher" option of Blazy related contribs. This means PhotoSwipe will be available for free at Blazy, GridStack, Lory, Slick formatters, including Blazy Views fields for file ER and Media Entity.
- Supports swipeable Videos if Video Embed Media is installed.
Installation
- Install the module as usual, more info can be found on:
https://drupal.org/documentation/install/modules-themes/modules-8 - Enable Blazy PhotoSwipe module under "Blazy" package:
/admin/modules#edit-modules-blazy
Usages
- Go to any "Manage display" page, e.g.:
admin/structure/types/manage/page/display - Find a Blazy, GridStack, Lory, Slick formatter under "Manage display".
- Choose "Image to photoswipe" under "Media switcher" option. Adjust anything else accordingly.
- Also available at Blazy Views fields under the same "Media switcher" option for File ER, or Media Entity, if using Blazy Views field. Both Views and ME integration are optional if the relevant modules are installed earlier, or later.
