We're Hiring!

WeblitzViewport can display z-stacked images?

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.

WeblitzViewport can display z-stacked images?

Postby jwarren » Tue Jun 19, 2018 10:01 am

Hi

We have some stacked images we would like to display. Currently our code works for single images using the viewport as below but for stacks they don't show as stacks? Not like they do in the img detail view.

How do I get the viewport to display them as stacks? Is there something special I need to do or is it not possible?

Note we are using OMERO 1.5.3

../img_detail/472461/ works but the same image in the viewport displays a single image only.

Code: Select all
var viewport = $.WeblitzViewport($("#viewport"), impcMediaBaseUrl, {
        'mediaroot': omeroStaticUrl
    });

viewport.load(id);
jwarren
 
Posts: 102
Joined: Wed Jul 09, 2014 1:35 pm

Re: WeblitzViewport can display z-stacked images?

Postby jmoore » Tue Jun 19, 2018 12:22 pm

Hi Jonathan, is that 5.1.3 or 5.3.1? (I'm assuming the latter)
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: WeblitzViewport can display z-stacked images?

Postby jwarren » Tue Jun 19, 2018 12:29 pm

sorry 5.1.3
jwarren
 
Posts: 102
Joined: Wed Jul 09, 2014 1:35 pm

Re: WeblitzViewport can display z-stacked images?

Postby wmoore » Tue Jun 19, 2018 3:17 pm

Hi,

Are you not seeing a Z-slider beside the viewport?

Does this example help?
http://users.openmicroscopy.org.uk/~ata ... iewer.html

Regards,

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


Return to Developer Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron