These are chat archives for openseadragon/openseadragon

3rd
Feb 2016
Matthias Guth
@ChiSamurai
Feb 03 2016 10:46
@iangilman @avandecreme finally I managed to test rotation... works fantastic :) Many thanks for your support!
Mark Ehle
@librarymark
Feb 03 2016 15:17
Folks - I am trying to duplicate cooliris with openseadragon's full multi-image mode. I am making progress, but slowly. Right now I am using d3 to add a text overlay to each image. That part is working, but the box for each text is huge and does not allow me to click the image to zoom it; it just triggers the overlay click. Mouse-wheel zooming still works. Where/how do you control the size of the overlay box? I added width and height attributes but they seem to have no effect.
Mark Ehle
@librarymark
Feb 03 2016 17:07
When I change the scaling to whole numbers things seem to work better. Does D3 or openseadragon have a restriction on how small height and width can be?
Ian Gilman
@iangilman
Feb 03 2016 17:26
@ChiSamurai Excellent :)
@librarymark Are you using the SVG overlay plugin or the standard OSD overlays?
Ian Gilman
@iangilman
Feb 03 2016 17:39
Also, is the text overlay an HTML element or SVG?
Does it change size when you zoom? Do you want it to?
Regarding the clicking, is the overlay on top of the image or next to it?
Mark Ehle
@librarymark
Feb 03 2016 17:53
I am using the plugin. The text zooms with the images. That is what I want. The overlays are under (lower on the screen )than the images. Things sort of look the way I need now since I changed the scaling. (multiplied everything by 10). What I could use now is a way to put a dark background on the text. As I understand it, there is no background color attr for SVG text, right?
Ian Gilman
@iangilman
Feb 03 2016 17:55
Yeah, I wouldn't be surprised if SVG gets funny at too small numbers...bumping up like you did is probably the way to go
As far as I know there is no background color for SVG text...you just need to create an SVG rectangle to go behind the text
If you want the overlay to not affect mouse handling, add pointer-events: none to the appropriate elements
Another option would be to put click handlers on the overlays
Good to hear it's coming along! I look forward to checking it out :)
Alexey Tikhonov
@altert
Feb 03 2016 18:32
it appears it's rejected from wordpress.org directory, because I don't represent openseadragon
while I'm not sure what means openseadragon as legal entity) I guess I'll need to change its name
Ian Gilman
@iangilman
Feb 03 2016 18:36
@altert Funky...I'm happy to endorse it if that's what they need...
There isn't really a legal entity beyond the GitHub org...
Alexey Tikhonov
@altert
Feb 03 2016 18:39
ok. I'll ask them)