Extension:ZoomableImages
<translate> This extension stores its source code on a wiki page.</translate> <translate> Please be aware that this code may be unreviewed or maliciously altered.</translate> <translate> They may contain security holes, outdated interfaces that are no longer compatible etc.</translate> <translate> Note:</translate> <translate> No [[<tvar name=localisation>Special:MyLanguage/Localisation#Translation resources</tvar>|localisation]] updates are provided for this extension by <tvar name=twn>translatewiki.net </tvar>.</translate> |
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> |
ZoomableImages Release status: unmaintained |
|
---|---|
File:Zoomable images - Libre Pathology.gif | |
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 |
License | GNU General Public License 2.0 or later |
Download | /Code |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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'/>
External links
- Pages with script errors
- Pages with broken file links
- Extensions which host their code in-wiki
- Unmaintained extensions
- Tag extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- ParserFirstCallInit extensions
- All extensions
- Extensions not in ExtensionJson
- Image extensions