[nodebb-plugin-makesmart-gallery] - Image Slider for topics

NodeBB Plugins
  • Hey! Today I want to share my newest plugin with you guys.
    Its called makesmart-image-gallery.

    Live Demo

    https://nodebb.development.fail/topic/3/image-gallery-made-easy

    How to use

    Just add [[gallery]] on top of your image-collection, followed by the images which should be displayed in the slider:

    [[gallery]]
    ![fun](https://media.tenor.com/images/11fc14bb1b8dc3efbf7aa496432601d4/tenor.gif)
    ![dance](https://media.tenor.com/images/82f7d090429ddc3e5ae33d7244d369c2/tenor.gif)
    ![happy](https://media.tenor.com/images/a12ac6302bccc01652b7f4b33a034777/tenor.gif)
    

    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",
        },
      });
    });
    

    Installation

    So far I dont know, how to use npm so this plugin is currently only available via GitHub.

    1. Clone the repo with
      git clone https://github.com/me-cooper/nodebb-plugin-makesmart-gallery
    2. Open the downloaded folder via console and link the folder with
      sudo npm link
    3. Go into your nodebb installation folder and type
      npm link nodebb-plugin-makesmart-gallery
    4. Activate the plugin via cli ./nodebb activate makesmart-gallery or via ACP

    Installation via NPM

    Here 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. 🙂


    To-Do:

    • Display Image-Slider in the composer preview as well
  • Great idea! Can't wait to try it out and thanks for the video.

  • Nice and very slick looking. 👍

  • awesome! managed to grab the first star on your GH repo as well ;D

  • @dogs this is great! 👍 thanks

  • @dogs thank for this plugin 👍
    Here is the way i installed it :

    npm install git+https://github.com/me-cooper/nodebb-plugin-makesmart-gallery.git
    

    Hope this help.

  • crazycellsC crazycells referenced this topic on

Suggested Topics


  • Topic thumbnails?

    NodeBB Plugins
    0 Votes
    5 Posts
    457 Views

    @taloche Makes sense, I see nothing. Time to investigate.

    EDIT: Oh... I did a rebuild. It's there now!

  • 1 Votes
    4 Posts
    957 Views

    So what would this page you're proposing look like? How would it work?

  • 1 Votes
    3 Posts
    887 Views

    Hope so! Seems like there's at least one other site using this port of phpbb. Perhaps more if they cleaned out the attribution footer markup or aren't indexed by google.

  • 1 Votes
    1 Posts
    2k Views

    Hi,

    We want to migrate wordpress posts as well as comments and replies associated to that post into nodeBB under General Discussion category.
    Please note our wordpress site is multi-site network.
    We have search for the implemented plug-in but we have not found any plug-in.
    So if you know any kind of a plug-in supported for latest version 0.6.0 which fulfil our requirement, please let us know.

    If there is no such kind of a plugin is available we are planning to implement wordpress plugin which migrate posts as well as comments and replies associated to that post.

    To implement wordpress plugin we need REST/MOBILE API. So by using that REST/MOBILE API, We can create topics/comments/reply from outside the nodeBB environment. So please let us know if nodeBB supports such kind of REST/MOBILE API.

    So any help would be greatly appreciated.
    Thanks!!!

  • 17 Votes
    216 Posts
    136k Views

    @phenomlab, @baris I am also wondering if the plugin is compatible with v3?

    I am new here, and so am not quite sure what I am doing yet. That said, I tried to install this plugin using the Ubuntu ./nodebb command:

    ./nodebb install nodebb-plugin-rss

    It gave an error and advised against installing the plugin with NodeBB v3.1.4. A plugin for dummy data seems like it would be really helpful. Lots are doing it with ChatGPT now.

    ...Thanks for the wonderful piece of software. 🙂