Extension:ImagePlus

From MediaWiki.org

Jump to: navigation, search

             

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
ImagePlus

Release status: beta

Imagep.png
Implementation  Page action
Description User-friendly way to insert images and edit image markup
Author(s)  Florian Mayrhuber
MediaWiki  1.6 or higher
License No license specified
Download imageplus.zip
Example  NONE

check usage (experimental)

[edit] ImagePlus

Imageplus extends the editpage with capabilities to add images and edit the markup of images in a userfriendly way.

Options available to format image markup

  • location 'right', 'left', 'center' or 'none'. Determines placement of the image on the page.
  • frame, border, thumbnail
  • caption
  • size (width/height), scales the image to be no greater than the given width and height, keeping its aspect ratio.


For more information see extended image syntax


All inputs or changes to these fields are then transformed to wiki markup and pasted into the textarea.

[edit] Installation

  • Download zip file containing source files. (update: i moved donwload location to box.net)
  • Unpack archive into the extensions directory of your mediawiki installation
  • Add the following line at the end of your LocalSettings.php:
require_once("$IP/extensions/imageplus/imageplus.php");

This extension may no longer work with the current version of mediawiki (1.16).

[edit] Usage

ImagePlus is a button located below the standard edit toolbar.

  • To insert a new image just click the button
  • To edit the markup of an existing image select the markup in the textarea and then click the button

After clicking the ImagePlus button the options for formatting the image markup are shown above the edit textarea.

There are 2 possibilities to find the filename of the image

  • A selectbox containing the last 10 uploaded files.
  • An autocomplete search box © (Mircho Mirev)

To set up the location, size or caption just use the corresponding html elements, when done click insert.