These are chat archives for openseadragon/openseadragon

18th
Jul 2017
chawlak11
@chawlak11
Jul 18 2017 01:35

@iangilman We are looking to display the images of cancer tissues liek deep zoom images. I have installed the Openseadragon using the targiz file in the root of /var/www. Do i need to create a project directory? if yes and where.I made the changes to the index.html to something like this:<html>
<head>
<style type="text/css">

  #foo {
    width: 400px;
    height: 300px;
  }
</style>

</head>
<body>
<div id="foo"></div>
<script src="openseadragon/openseadragon.min.js"></script>
<script>
var viewer = OpenSeadragon({
id: 'foo',
prefixUrl: 'openseadragon/images/',
tileSources: 'dzi/foo.dzi'
});
</script>
</body>
</html>

Alexey Tikhonov
@altert
Jul 18 2017 09:13
@iangilman what I did is added event.preventDefaultAction=true; to my canvas-click handler function when conditions were right. It seems to work but I wonder if that is proper way to handle it)
Ian Gilman
@iangilman
Jul 18 2017 20:45
@altert That's exactly the right thing :)
@chawlak11 All looks good to me... are you having trouble with it?
Have you created a dzi image?
chawlak11
@chawlak11
Jul 18 2017 22:51
@iangilman No i have not created dzi image. Yes i am having trouble with it.
Ian Gilman
@iangilman
Jul 18 2017 22:56
@chawlak11 How big are the images you want to use? How many pixels on the longest side?