Extension:AdaptiveThumb

From mediawiki.org
MediaWiki extensions manual
AdaptiveThumb
Release status: unmaintained
Implementation Skin
Description Displays an image thumbnail that scales with the browser size
Author(s) Thorsten Staerk (ThorstenStaerktalk)
Latest version 0.1 (2018-03-12)
MediaWiki 1.25+
License GNU General Public License 2.0 only
Download
README
Example LinuxIntro
referring to a local file

The AdaptiveThumb extension allows you to show thumbnails of images that scale with the browser window.

Installation[edit]

  • Download and place the file(s) in a directory called AdaptiveThumb in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AdaptiveThumb' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

To use this extension, simply put a <pic> tag into your MediaWiki markup like this:

<pic src="mindmap.jpg" width=30% align=text caption="this is a mindmap" />

You can see it in action on http://www.linuxintro.org/wiki/Babe