These are chat archives for openseadragon/openseadragon

22nd
Sep 2016
John Hoffer
@thejohnhoffer
Sep 22 2016 16:40
Another odd question- what is the best way to rescue a tile on 'tile-load-failed'?
Say I want to load from a backup tilesource. Can I just create a new HTMLImageElement and store it as e.tile.image?
John Hoffer
@thejohnhoffer
Sep 22 2016 16:54
Alternatively, can I just store a new openSeadragon.tile as e.tile? If so, does anyone know how to create a new openSeadragon.tile directly from an html canvas?
Samuel Allen
@dehuszar
Sep 22 2016 17:20
@msalsbery Still having issues getting the hooks plugin from stopping viewer events from bubbling up. Any chance you're around today? I could def use a hand on something time sensitive.
Antoine Vandecreme
@avandecreme
Sep 22 2016 19:03
@thejohnhoffer I don't think there is anything yet but your suggestions seem worth a try.
John Hoffer
@thejohnhoffer
Sep 22 2016 21:05
@avandecreme I just found that I can pass a function as agetcontext2D option of the tilesources that I know won't load to images.