Extension:EditImage

MediaWiki extensions manual
EditImage
Release status: unmaintained
Implementation User interface, Special page
Description Make bitmap images (i.e., JPGs and PNGs) "editable" through the browser.
Author(s) Benjamin Mako Hilltalk
Latest version 0.1 (2008-08-11)
MediaWiki
License GNU General Public License 3.0
Download Latest Version (tar.gz) Browseable Git Repository
README
ChangeLog
Example http://wiki.mako.cc

EditImage attempts to make images more wiki by making them modifiable. Using a combination of javascript interfaces and ImageMagick image manipulation backend, EditImage provides simple image editing functionality to every users within a browser. Users of wikis using the EditImage extension can do simple manipulation

Features

Currently, the released version of EditImage allows the following types of editing:

  • Cropping

Adding new features and modes is a great way to contribute to this extension and can in some cases can be very easy. Please go ahead and try and then contact the maintainer for inclusion of your feature in a new version of this plugin!

Requirements

To install EditImage on your wiki, you must have ImageMagick installed.

To use it, you just need a browser. It does not require Java, Flash, or any additional software。

Installation

Copy the following files from the browseable Bazaar repository into $IP/extensions/EditImage:

EditImage.i18n.php
EditImage.js
EditImage.php
EditImage_body.php
cropper.css
cropper.js
lib/
    builder.js
    dragdrop.js
    prototype.js
    scriptaculous.js

Add this line at the end of LocalSettings.php  :

require_once($IP.'/extensions/EditImage/EditImage.php');

Implementation Details

Cropping functionality in EditImage is built using David Spurr's JavaScript Cropping UI which is distributed under the BSD license.

Other Details

This page replaces the older Extension:Cropper page, which did not seem to have code available.