Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (32 sloc) 1.158 kb
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>ImageViewer Example</title>
<link rel="stylesheet" type="text/css" href="">
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="ImageViewer.js"></script>
<script type="text/javascript">
name: 'ImageExample'
,launch: function() {
// launch the ImageViewer-powered viewport
this.views.viewport = new{
fullscreen: true
,style: {
backgroundColor: '#000'
,imageSrc: ''
if you already have a low resolution thumbnail loaded,
supply its URL via previewSrc to provide a backdrop
for loading the full-res version
//,previewSrc: ''
Jump to Line
Something went wrong with that request. Please try again.