We're Hiring!

Maximize Screen button - left panel options - web

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Re: Maximize Screen button - left panel options - web

Postby wmoore » Thu Jul 07, 2016 2:06 pm

Hi,

I'm afraid I'm not seeing that error on http://will-moore.github.io/weblabs/image_viewer_demo/ so the first aim would be to reproduce it.
I see that your dev viewer link above is no-longer active.
Do you have another one that shows the zooming bug?

I'm afraid I'm off tomorrow for 2 weeks, but will look at this bug if I can.

Regards,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Maximize Screen button - left panel options - web

Postby jwarren » Thu Jul 07, 2016 2:30 pm

Great Will - thanks for the prompt reply. You can see the code in action here:
http://dev.mousephenotype.org/data/imag ... LZ_064_001

where the mouse wheel bug is evident - although I apologise as it obviously could be a clash with some of our javascript - though I'm not aware of us doing anything related to middle wheel functionality.

Any tips gratefully received.
jwarren
 
Posts: 102
Joined: Wed Jul 09, 2014 1:35 pm

Re: Maximize Screen button - left panel options - web

Postby atarkowska » Thu Jul 07, 2016 3:10 pm

Hi Jonathan,

I think you are missing
Code: Select all
static/3rdparty/jquery.mousewheel-3.0.6.js


Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Maximize Screen button - left panel options - web

Postby jwarren » Fri Jul 08, 2016 8:57 am

Ha Ha! Brilliant! That did the trick.

Thanks Ola.
jwarren
 
Posts: 102
Joined: Wed Jul 09, 2014 1:35 pm

Re: Maximize Screen button - left panel options - web

Postby wmoore » Tue Jun 06, 2017 12:25 pm

Hi Jonathan,

Further to your feedback and feature request at the OME meeting last week, I have returned to the example we were working on before and opened a new PR: https://github.com/openmicroscopy/omero-webtest/pull/24
The bugs we fixed previously are still working, and I added extra example code to sync the zooming and panning of the 2 viewers. This code is a little cumbersome since it needed to use functionality that is not provided by the existing viewer code. (NB: this also doesn't work for Big (tiled) images since they use a different viewer).
Have a look under the new files code at the above PR (see JavaScript code under "// Link zooming of both viewports") and see if this works for you.
You can leave feedback here or on the PR itself.
Regards,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Previous

Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 0 guests