Page 1 of 1

WeblitzViewport can display z-stacked images?

PostPosted: Tue Jun 19, 2018 10:01 am
by jwarren
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);

Re: WeblitzViewport can display z-stacked images?

PostPosted: Tue Jun 19, 2018 12:22 pm
by jmoore
Hi Jonathan, is that 5.1.3 or 5.3.1? (I'm assuming the latter)

Re: WeblitzViewport can display z-stacked images?

PostPosted: Tue Jun 19, 2018 12:29 pm
by jwarren
sorry 5.1.3

Re: WeblitzViewport can display z-stacked images?

PostPosted: Tue Jun 19, 2018 3:17 pm
by wmoore
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.