Multiple MultiScaleImages Bug
Hey!
I'm expanding my photo viewer and i got in to some real trouble...
This is my website:
www.timg.nl
I want to make a new functionality: A thumbnail view.. All these thumbnails are openzoom pictures... And there is 1 big picture in the background...
Whenever i create en second MultiscaleImage and i resize the browser the background picture does not scale anymore.... :(
i've already tested whether the picture gets bigger and it DOES get bigger (image.width, image.height ) but its not visualy resizing...
Do you have any idea what this could be? it happens when the second Multiscale image gets instantiated..
Thnx in advance
I'm expanding my photo viewer and i got in to some real trouble...
This is my website:
www.timg.nl
I want to make a new functionality: A thumbnail view.. All these thumbnails are openzoom pictures... And there is 1 big picture in the background...
Whenever i create en second MultiscaleImage and i resize the browser the background picture does not scale anymore.... :(
i've already tested whether the picture gets bigger and it DOES get bigger (image.width, image.height ) but its not visualy resizing...
Do you have any idea what this could be? it happens when the second Multiscale image gets instantiated..
Thnx in advance
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company has a solution in progress.
-
Inappropriate?Hey!
Update: The problem still exists but i made a workaround:
When i copy the complete openzoom folder and rename it to openzoomSmall and change all the references from org.openzoom to org.openzoomSmall it will work...
So i think the code stores some information in de classes and when i instantiate a second multiscale image the first one will not resize...
this is only a workaround no solution...
Greetz Tim
ps. if you like to see some examples of what i mean just let me know!!
I’m undecided
-
Inappropriate?Tim,
Thanks for reporting this. Frankly, I won't have much time to work on this. However, if you would be so kind and create the smallest possible example project that reproduces the issue you're encountering, then send it to me (daniel@gasienica.ch) and I promise to have a look at and maybe even fix it.
Cheers,
Daniel
I’m thankful
-
Inappropriate?I also have this problem.
As far as I can see the problem is that every NormalizedViewport shares the same instance of the transformer as the transformer property is set in the constructor from a static variable;
transformer = NULL_TRANSFORMER
The transformer also has an instance of the NormalizedViewport so if you instantiate a new MultiscaleImage they all get transformer with the latest instantiated NormalizedViewPort.
I changed it by instantating a new tranformer in the NormalizedViewport constructor like:
transformer = new NullTransformer();
I'm not confident enough with the code to be sure this does not cause other issues.
I would like to know your thoughts on this.
Thanks
Sven -
Inappropriate?Sven,
I thought I've fixed this bug in the following commit:
http://github.com/openzoom/sdk/commit...
However, if it's still causing issues, I'd love to know!
Cheers,
Daniel
I’m unsure
Loading Profile...




EMPLOYEE