Open virtualgadjo opened 1 year ago
Strange. The code looks fine. I don't expect that it makes any difference that it's Zoomify. Can you post a repro link?
Hi, and thanks a lot for your help have a look at this one https://www.ilestcontenttoto.com/dentelle-test/ i've made the overlay huge and red so you'll see it without any doubt when loading no matter the kind of units i use to size osd container or the overlay, it doesn't like what i do :)
the funny thing is that the native osd overlay feature works like a charm with the same main setup https://www.ilestcontenttoto.com/dentelle/ but your html overlay plugin would allow me to do even more custmizations
thanks again for taking time to help :) have a nice day
Hi again,
found out!, actually it doesn't work without your scale option
const overlay = viewer.htmlOverlay({scale: 2000});
i've updated the -test link and with this 2000 value, i've width: 400px in my css and the awfull red div i've put is nearly 400px width on load
now, between OSD native overlay and this i can play with whatever i need! :)
thanks again and a lot for everything, OSD, the plugin and your patience and help :) have a nice day
Oh yes, I'm glad you spotted that!
Hi, playing around witth the plugin, it seems to have some issues with zoomify tiles i can see in yoyr example that you use a totally different tile options group with a witdh 1000 and a Sizes object but if i try this, osd stops working, maybe there is something else to have it work with that kind of tiles ? this
works fine, except for the last two lines, when i refresh the page i can see my div correctly positionned but as soon (less than 1 second, osd amazes me...,, later) it disappears below the image (no matter i use var or let and const, same result (of course, OSD and the plugin last releases)
just in case you had THE idea :) have a nice day