generated from pathologyatlas/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HE.html
29 lines (29 loc) · 1.18 KB
/
HE.html
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
<meta charset="utf-8" />
<div id="openseadragon1" style="width: 100%; height: 95%;"></div>
<script src="https://images.patolojiatlasi.com/openseadragon/openseadragon.min.js"></script>
<script type="text/javascript">
var viewer = OpenSeadragon({
id: 'openseadragon1',
prefixUrl: 'https://images.patolojiatlasi.com/openseadragon/images/',
showHomeControl: false, // optional
showRotationControl: true, // optional
showFullPageControl: true,
showNavigator: true, // optional
showFlipControl: true, // optional
navigatorBackground: 'rgb(240, 240, 240)', // optional
tileSources: {
Image: {
Url: './HE_files/', // name of image folder
TileSize: '254', // see .dzi file
Overlap: '1', // see .dzi file
Format: 'jpeg', // see .dzi file
ServerFormat: 'Default', // optional
xmlns: 'http://schemas.microsoft.com/deepzoom/2009', // see .dzi file
Size: {
Width: '21655', // see .dzi file
Height: '14981' // see .dzi file
}
}
}
});
</script>