Extension:ZoomableImages

Category:Extensions which host their code in-wiki Category:Unmaintained extensions#ZoomableImages Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
ZoomableImages
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions
Description Allows zoomable images using the OpenSeadragon viewer
Author(s) Michael Bonert (Nephrontalk)
Latest version 0.17 (2016-11-05)
MediaWiki 1.27+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0 or later
Download /Code
Quarterly downloads 0
Category:All extensionsCategory:Extensions not in ExtensionJson

The ZoomableImages extension allows use of zoomable images using the OpenSeadragon viewer.

Installation

Zoomable images reside in the directory: $IP/images/zimages/

OpenSeadragon can be download here: https://openseadragon.github.io/#download

The OpenSeadragon files have to be in a directory called openseadragon that resides in the ZoomableImages directory; the location of the script openseadragon.min.js has to be: $IP/extensions/ZoomableImages/openseadragon/openseadragon.min.js

Configuration

To install this extension, add the following to LocalSettings.php:

require_once "$IP/extensions/ZoomableImages/ZoomableImages.php";

Usage

To add a zoomable image to your MediaWiki installation add the following:

<zoomableimage name="zimage.dzi"/>

Options

The width and height can be specified:

<zoomableimage name="zimage.dzi" width=800 height=600/>

A viewport can be added:

<zoomableimage name="zimage.dzi" viewport='true'/>

The image can be rotated an arbitrary amount:

<zoomableimage name="zimage.dzi" initrotate=25/>

Image rotation controls can be displayed:

<zoomableimage name="zimage.dzi" showrotctrls='true'/>

Category:Image extensions
Category:All extensions Category:Extensions not in ExtensionJson Category:Extensions which host their code in-wiki Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:Image extensions Category:ParserFirstCallInit extensions Category:Tag extensions Category:Unmaintained extensions