Extension:EditImage

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
EditImage
Release status: beta
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)
License GPLv3
Download Latest Version (tar.gz) Browseable Git Repository
README
ChangeLog
Example http://wiki.mako.cc
Hooks used
SkinTemplateContentActions
Translate the EditImage extension if it is available at translatewiki.net
Check usage and version matrix.

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[edit]

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[edit]

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[edit]

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[edit]

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

Other Details[edit]

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