Difference between revisions of "Adaptivethumb"
Line 4: | Line 4: | ||
adaptivethumb@mediawiki: https://www.mediawiki.org/wiki/Extension:AdaptiveThumb | adaptivethumb@mediawiki: https://www.mediawiki.org/wiki/Extension:AdaptiveThumb | ||
+ | |||
+ | ==What can this extension do?== | ||
+ | This extension allows you to show thumbnails of images that scale with the browser window. | ||
+ | |||
+ | ==Download instructions== | ||
+ | Download the package here: https://github.com/tstaerk/adaptivethumb/archive/master.zip. | ||
+ | |||
+ | ==Installation== | ||
+ | To install this extension, in this example for Linux, unpack it to the $IP/extensions folder: | ||
+ | extensions# unzip master.zip | ||
+ | A new folder $IP/extensions/adaptivethumb will be added. Make sure its owner:group is www-data:www-data or whatever you apache is running as: | ||
+ | extensions# chown -R www-data:www-data adaptivethumb | ||
+ | Add the following to [[Manual:LocalSettings.php|LocalSettings.php]]: | ||
+ | <source lang="php"> | ||
+ | require_once("$IP/extensions/adaptivethumb/adaptivethumb.php"); | ||
+ | </source> | ||
+ | |||
+ | ==Usage== | ||
+ | To use this extension, simply put a <pic> tag into your mediawiki markup like this: | ||
+ | <pic src="/mindmap.jpg" size=30% align=right caption="this is a mindmap" /> | ||
+ | |||
+ | [[Category:Image extensions]] |
Revision as of 17:44, 19 January 2015
AdaptiveThumb is a MediaWiki extension that allows you to create a thumbnail for an image that scales with the browser size.
Download, Code, Bugreporting here: https://github.com/tstaerk/adaptivethumb
adaptivethumb@mediawiki: https://www.mediawiki.org/wiki/Extension:AdaptiveThumb
Contents |
What can this extension do?
This extension allows you to show thumbnails of images that scale with the browser window.
Download instructions
Download the package here: https://github.com/tstaerk/adaptivethumb/archive/master.zip.
Installation
To install this extension, in this example for Linux, unpack it to the $IP/extensions folder:
extensions# unzip master.zip
A new folder $IP/extensions/adaptivethumb will be added. Make sure its owner:group is www-data:www-data or whatever you apache is running as:
extensions# chown -R www-data:www-data adaptivethumb
Add the following to LocalSettings.php: <source lang="php"> require_once("$IP/extensions/adaptivethumb/adaptivethumb.php"); </source>
Usage
To use this extension, simply put a