These are chat archives for openseadragon/openseadragon

14th
Apr 2015
Daniel Haehn
@haehn
Apr 14 2015 14:57
hi guys, so i have an image sequence: is there a way to update the total width and height when navigating to the next page? the reason is, that i don't know the width and height of all images when i create the viewer.
Ian Gilman
@iangilman
Apr 14 2015 17:32
@haehn Doesn't it resize properly for each new image? How are you getting from image to image?
(Also, is this OSD 1.2.1?)
Daniel Haehn
@haehn
Apr 14 2015 18:41
I use osd from master two weeks ago or so. well i get a content listing at the beginning before loading the actual image files on the server side. then i pass it to the viewer constructor but it does not have up-to-date width and height for each image in the sequence.. i want to pass the actual width and height to the viewer when navigating to the next image in the sequence.
can i basically update the tileSources property on the fly without re-creating the viewer?
Ian Gilman
@iangilman
Apr 14 2015 18:43
Are you using sequenceMode: true ?
Do you want to only see one image at a time or do you want them arranged in a line or grid?