Extension:Thumbro
Appearance
Thumbro Release status: experimental |
|
---|---|
Implementation | Media |
Description | Improve and expand thumbnailing in MediaWiki |
Author(s) | alistair3149, Bryan Tong Minh |
Compatibility policy | Master maintains backward compatibility. |
MediaWiki | 1.39.4+ |
Composer | starcitizentools/thumbro |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: Readme |
The Thumbro extension improves and expands thumbnailing in MediaWiki. It is a forked and rewritten version of Extension:VipsScaler.
Features
[edit]- Use libvips to render thumbnails instead of ImageMagick and GD
- Allow custom output options for libvips
- Render WebP thumbnails by default for gif (animated too!), jpeg, png, webp
- Allow adding
<source>
element to the image using theThumbroBeforeProduceHtml
hook - Add a hidden anchor element to allow web crawler to crawl the original resolution image (T54647)
Installation
[edit]- Install libvips
- Download and place the file(s) in a directory called
Thumbro
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Thumbro' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
See also
[edit]- Extension:VipsScaler - original version of this extension