nodebb-plugin-image-sizer-forum

2.0.2 • Public • Published

Image Sizer

This plugin allows you to resize images in Nodebb

The general syntax is:
![alt text](http://someurl.com/someimage.png@<size>)

There are 3 ways to set size:

  • absolute:
    ![alt text](http://someurl.com/someimage.png@1920x1080)

  • percent:
    ![alt text](http://someurl.com/someimage.png@50%)

  • scalar multiplier:
    ![alt text](http://someurl.com/someimage.png@0.5)

note: if you leave off one of width or height in the absolute size, the other will be calculated so as to keep the aspect ratio unchanged.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i nodebb-plugin-image-sizer-forum

      Weekly Downloads

      0

      Version

      2.0.2

      License

      BSD-2-Clause

      Unpacked Size

      2.5 kB

      Total Files

      4

      Last publish

      Collaborators

      • dynobird