@taloche Makes sense, I see nothing. Time to investigate.
EDIT: Oh... I did a rebuild. It's there now!
Hey! Today I want to share my newest plugin with you guys.
Its called makesmart-image-gallery.
https://nodebb.development.fail/topic/3/image-gallery-made-easy
Just add [[gallery]]
on top of your image-collection, followed by the images which should be displayed in the slider:
[[gallery]]



This simple syntax creates a slim and nice image-gallery:
It uses Swiper as slider. You can look trough the examples to customize your slider if you want. To change behaviour edit static/lib/main.js
.
require(["swiper"], function (Swiper) {
var swiper = new Swiper(".makesmart-image-gallery", {
autoHeight: true,
loop: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
});
So far I dont know, how to use npm so this plugin is currently only available via GitHub.
git clone https://github.com/me-cooper/nodebb-plugin-makesmart-gallery
sudo npm link
npm link nodebb-plugin-makesmart-gallery
./nodebb activate makesmart-gallery
or via ACPHere is the way @Spin0us installed it :
npm install git+https://github.com/me-cooper/nodebb-plugin-makesmart-gallery.git
Reply
It's my first plugin but I hope you enjoy it.
Nice and simple image collection as slider. Contribute to me-cooper/nodebb-plugin-makesmart-gallery development by creating an account on GitHub.
GitHub (github.com)
To-Do:
Nice and very slick looking.
awesome! managed to grab the first star on your GH repo as well ;D