Page 1 of 1

Omero gallery access

PostPosted: Tue Jul 31, 2018 1:22 pm
by sameh
Hello everyone,

I have a question about using the omero gallery. When I use the omero web gallery to display public account images, I do not understand why omero asks me to login.


what should I change to have direct access to the images?

thank you very much

sameh

Re: Omero gallery access

PostPosted: Wed Aug 01, 2018 12:44 pm
by kennethgillen
Hi Sameh,

You'll need to make sure that each URL you wish the public user to be able to access is matched by the regular expression defined in the OMERO.web config property:
Code: Select all
omero.web.public.url_filter


See https://docs.openmicroscopy.org/omero/5 ... ublic.html which describes this in more detail.

So if you want the OMERO.gallery to be allowed by the public user at say /gallery, you'll need to make sure that phrase is in the regex, e.g.

Code: Select all
'^/(webgateway|gallery)'


Best,

Kenny