[ome-users] How to link to a data-set
Aleksandra Tarkowska
A.Tarkowska at dundee.ac.uk
Tue Nov 25 08:58:27 GMT 2014
Hi Jake,
I understand that your public filter enabled the image viewer, making sure all data stays secure uses:
$ bin/omero config set omero.web.public.url_filter '/webgateway'
There are two options to do it:
1. Enable public access to view images in a public group in the webclient while still preventing data manipulation using filter like:
$ bin/omero config set omero.web.public.url_filter '^/(?!webadmin|webclient/action/\w+|webclient/annotate_(file|tags|comment))'
2. On your custom pages you can load JSON from the following links:
http://YOUR_HOST/webgateway/dataset/ID/children/ - list all images in the dataset
It will return following information, see example:
{"description": "", "author": "Will Moore", "date": 1291325060.0, "thumb_url": "/webgateway/render_thumbnail/4701/", "type": "Image", "id": 4701, "name": "spim.png"}
For more available links see: https://github.com/openmicroscopy/openmicroscopy/blob/dev_5_0/components/tools/OmeroWeb/omeroweb/webgateway/urls.py#L145
I hope it will help.
Ola
On 25 Nov 2014, at 05:13, "Jake Carroll" <jake.carroll at uq.edu.au<mailto:jake.carroll at uq.edu.au>> wrote:
Hi OME crew.
A quick question. We've got some of our researchers ready to go and publish papers with citations directly from inside OMERO, using public data constructs.
After following this:
http://www.openmicroscopy.org/site/support/omero5/developers/Web/PublicData.html
And then this:
http://help.openmicroscopy.org/urls-to-data.html
We can happily link to an image, bypassing the need to login because we're using a public-user and have it in a public data area.
But we want to link to an entire data set at once, avoiding the login page.
The problem is, when we do that, we still get the login-page, which we were not expecting. We were expecting we'd get an image browser without needing to login.
So, we are sure we can "directly link" publicly using single images, like this:
https://blah.blah.blah.blah/webgateway/img_detail/6453/
Which works, no auth/credentials required. How do we do the same with the entire data-set?
I thought it might be as simple as:
https://blah.blah.blah.blah/webgateway/data_set_detail/6<https://blah.blah.blah.blah/webgateway/img_detail/6453>01
But clearly that is just a guess and perhaps too intuitive ;).
Many thanks as always...
-jc
_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20141125/0180aecd/attachment.html>
More information about the ome-users
mailing list