zerosonesfun/flarum-bbcode-advanced-image

An image BBCode which allows more attributes/parameters than the default img BBCode. Extra options include: width, unit (for width), and class.

Fund package maintenance!
Website

Installs: 109

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:flarum-extension

0.3 2021-09-18 23:03 UTC

This package is auto-updated.

Last update: 2022-06-19 00:32:00 UTC


README

Adds an image BBCode to Flarum which allows extra attributes compared to the default image BBCode.

The default image BBCode is [img] and so in order to not cause conflicts, this BBCode uses the full word, [image].

The code with all options (although, only the URL is required):

[image=example.com/image.png width=100 unit=% class=cool alt=This in image title=The title]

Install using composer: composer require zerosonesfun/flarum-bbcode-advanced-image:"*"