npm install universalviewer --save
- Zoomable
OpenSeadragon image zooming using the IIIF image API
- Embeddable
YouTube-style embedding with deep links to specific pages/zoom regions.
- Themable
Fork the UV theme on github to create your own.
- Configurable
The UV has its own visual configuration editor allowing all settings to be customised.
- Extensible
Supports "IxIF" out of the box, allowing 3D, audio, video, and pdf viewing experiences.
More about the Universal Viewer
See the GitHub releases page.
The most up-to-date code can usually be found on the dev
branch.
Please see the wiki for instructions on how to customise the viewer for your own projects.
All command-line operations for building the UV are scripted using Grunt which is based on Node.js. To get set up:
-
Install Node.js, if you haven't already
-
Install the grunt command line interface (if you haven't already); on the command line, run:
npm install -g grunt-cli
-
Install bower (if you haven't already)
npm install -g bower
-
Clone the
universalviewer
repository and sub modules:git clone https://github.com/UniversalViewer/universalviewer.git --recursive
-
On the command line, go in to the
universalviewer
folder -
Run
npm install bower install grunt sync
To build the debug version of the viewer, just run (on the command line, in the universalviewer
folder):
grunt
This will compile the .less files into .css and .ts files into .js with source maps to aid in debugging.
To build the distribution version of the UV, just run (on the command line, in the universalviewer
folder):
grunt build
A versioned uv-major.minor.patch
folder along with compressed .zip and .tar files will appear in the /dist
folder. Use these in your website, or alternatively use:
npm install universalviewer --save
which will download the distribution folder to node_modules
.
To view the examples run:
grunt
grunt examples
Support us with a monthly donation and help us continue our activities. [Become a backer]
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
The Universal Viewer is released under the MIT license.