Download the PHP package clarkwinkelmann/flarum-ext-default-image-alt without Composer
On this page you can find all versions of the php package clarkwinkelmann/flarum-ext-default-image-alt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clarkwinkelmann/flarum-ext-default-image-alt
More information about clarkwinkelmann/flarum-ext-default-image-alt
Files in clarkwinkelmann/flarum-ext-default-image-alt
Package flarum-ext-default-image-alt
Short Description Sets an alt text to post images when missing
License MIT
Informations about the package flarum-ext-default-image-alt
Default Image Alt Text
This extension sets a default alt text to images that were inserted in a post without any alt text.
It affects all TextFormatter syntaxes that use the internal IMG
tag, so 
, [img]https://example.com/image.jpg[/img]
and AutoImage.
The main use case of this extension is improving accessibility but help texts are also very useful to see whether the post contains broken images.
The default alt text will not be visible in previews, only in the final output.
The default text is not stored in the post XML, so all existing posts are immediately updated, including when the translation or language is modified.
The alt text is different for posts with a known author. A second alt text is used for posts with deleted author and other contexts where the Flarum formatter is used.
The Linguist extension can be used to change the text.
Installation
composer require clarkwinkelmann/flarum-ext-default-image-alt
Support
This extension is under minimal maintenance.
It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.
You can contact me to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.