Skip to content

Kern--/nodebb-plugin-image-sizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected])

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.

About

A plugin to resize images on NodeBB

Resources

Stars

Watchers

Forks

Packages

No packages published