From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.
Other languages:
English • ‎español • ‎हिन्दी • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Implementation Skin
Description Displays an image thumbnails that scales with the browser size
Author(s) (ThorstenStaerktalk)
Latest version 0.1 (2015-01-18)
MediaWiki 1.21+
License GNU General Public License 2.0 only
Example LinuxIntro
Translate the AdaptiveThumb extension if it is available at translatewiki.net
Check usage and version matrix.

What can this extension do?[edit]

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


  • 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:
    wfLoadExtension( 'AdaptiveThumb' );
    If needed, set the ownership to the apache user (this example shows how to do it for Debian-based Linux):
chown -R www-data:www-data AdaptiveThumb
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'AdaptiveThumb' );, you need to use:

require_once "$IP/extensions/AdaptiveThumb/AdaptiveThumb.php";


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