Extension:Imgur
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
Imgur Release status: unmaintained |
|
---|---|
Implementation | Tag |
Description | Allows images from Imgur to be embedded in the wiki |
Author(s) | maelstr0m (Lieutenant S. Reznovtalk) |
Latest version | 1.0 |
MediaWiki | 1.23 |
License | MIT License |
Download | GitHub |
<imgur> |
|
The Imgur extension allows images from the website Imgur to be embedded in wiki pages.
Installation[edit]
- Download and place the file(s) in a directory called
Imgur
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/Imgur/Imgur.php";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters[edit]
<imgur>xSO1ufX.jpg</imgur> <imgur w="200">xSO1ufX.jpg</imgur> <imgur thumb="yes" w="250" comment="This is a chicken in class.">xSO1ufX.jpg</imgur>
Images can be thumbnailed and size controlled by using w
attribute for width and setting the thumb
attribute to yes
and entering text into the comment
attribute. The thumbnailed version is wrapped in a div .imgur-thumb
tag and class for skin based and wiki wide CSS changes.