Extension:ZoomableImages
This extension stores its source code on a editable wiki page rather than in a code repository. As a result, this code may be maliciously altered. It may contain security vulnerabilities, and will not receive localisation updates from translatewiki.net. Developers are strongly encouraged to host their code in a code repository rather than a wiki page so that the extension can be properly maintained, reviewed, and kept secure. |
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
Release status: unmaintained |
|
|---|---|
| Implementation | Tag |
| Description | Allows zoomable images using the OpenSeadragon viewer |
| Author(s) | Michael Bonert (Nephrontalk) |
| Latest version | 0.17 (2016-11-05) |
| MediaWiki | 1.27+ |
| Database changes | No |
| Licence | GNU General Public License 2.0 or later |
| Download | /Code |
The ZoomableImages extension allows use of zoomable images using the OpenSeadragon viewer.
Installation
[edit]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
[edit]To install this extension, add the following to LocalSettings.php:
require_once "$IP/extensions/ZoomableImages/ZoomableImages.php";
Usage
[edit]To add a zoomable image to your MediaWiki installation add the following:
<zoomableimage name="zimage.dzi"/>
Options
[edit]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'/>
External links
[edit]- OpenSeadragon - extension "ZoomableImages" ... working experimental
- OpenSeadragon on MediaWiki using the "Widgets" extension
See also
[edit]- Extension:IIIF - uses a custom implementation of the OpenSeadragon viewer as well as TIFY.
- Extension:Mirador - uses the Mirador implementation of the OpenSeadragon viewer
