This module was replaced by Droptica's d_p_gallery, for Droopler versions >= 8.1.0-alpha3. However it still works and you don't have to update your old galleries.
- Update composer.json
Put this module in the "require" section of your composer.json. Remember to install required Colorbox module and jQuery Colorbox library! I assume you have configured asset-packagist.org and "composer-installers-extender" extension.
"require": {
"intelektron/i_p_gallery": "^1.0",
"drupal/colorbox": "^1.4",
"npm-asset/jquery-colorbox": "^1.6"
}In the "repositories" section put:
"repositories": {
"intelektron-gallery": {
"type": "git",
"url": "git@github.com:intelektron/i_p_gallery.git"
}
}Finally add this to "extra" section as first item in "installer-paths":
"extra": {
"installer-paths": {
"web/libraries/colorbox": ["npm-asset/jquery-colorbox"]
}
}- Run composer update.
- Include module's scss in droopler_subtheme style.scss file
@import "../../../../modules/contrib/i_p_gallery/scss/i_p_gallery";Note: Any changes made in this file won't be caught by gulp watch.
- Run gulp compile in droopler_subtheme directory
- Enable module in Drupal.
- Enjoy the new paragraph :-).