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.

Compatible with Flarum v1.1.1

Latest release 0.3

28 downloads

released on Sep 18, 2021

Tags

Flarum BBCode - Advanced Image

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:"*"

© 2021 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.