-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviewer.html
More file actions
68 lines (59 loc) · 2.1 KB
/
viewer.html
File metadata and controls
68 lines (59 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<link rel="stylesheet" type="text/css" media="all" href="css/iip.css" />
<link rel="stylesheet" type="text/css" media="all" href="css/moreImages.css" />
<link rel="stylesheet" type="text/css" media="all" href="css/annotools.css" />
<link rel="shortcut icon" href="images/iip-favicon.png" />
<link rel="apple-touch-icon" href="images/iip.png" />
<title>IIPMooViewer 2.0 :: HTML5 High Resolution Image Viewer</title>
<script type="text/javascript" src="js/mootools-core.js"></script>
<script type="text/javascript" src="js/mootools-more.js"></script>
<script type="text/javascript" src="js/iipmooviewer-2.0.js"></script>
<script type="text/javascript" src="js/annotools.js"></script>
<script type="text/javascript" src="js/moreImages.js"></script>
<script type="text/javascript">
// The *full* image path on the server. This path does *not* need to be in the web
// server root directory. On Windows, use Unix style forward slash paths without
// the "c:" prefix
var image=gup('location');//image location
var iid=gup('iid');//image id
var annotool=new annotools('tool',{left:'60px',top:'10px',canvas:'canvas',iid:iid});
if(gup('maxWidth'))annotool.maxWidth=gup('maxWidth');
if(gup('maxHeight'))annotool.maxHeight=gup('maxHeight');
if(gup('ratio'))annotool.ratio=gup('ratio');
// Copyright or information message
var credit = '© copyright or information message';
var iip= new IIPMooViewer( "viewer", {
image: image,
credit: credit
});
</script>
<style type="text/css">
body{
height: 100%;
padding: 0;
margin: 0;
}
div#viewer{
height: 100%;
min-height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="viewer"></div>
<div id="tool"></div>
<div id="meta"></div>
</body>
</html>