wmoore wrote:Hi,
Any configs that start with "omero.web..." need to be configured on the OMERO.web deployment.
- Code: Select all
$ OMERO.py/bin/omero config set omero.web.login_logo "/omero/static/webclient/image/logo_CIRB.jpg"
Hope that helps,
Will.
Hi Will,
I'm able to configure some configs as the script Figure. However, some doesn't work as the open with menu and the logo (may be the path change with omero.py ?) :
The scripts have been install with pip install -U omero ......
- Code: Select all
OMERO.py/bin/omero config append omero.web.apps '"omero_iviewer"'
OMERO.py/bin/omero config set omero.web.open_with '["omero_iviewer", "omero_iviewer_index",{"supported_objects":["image"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}]'
OMERO.py/bin/omero config append omero.web.apps 'omero_fpbioimage"'
OMERO.py/bin/omero config append omero.web.open_with '["omero_fpbioimage", "fpbioimage_index",{"script_url": "fpbioimage/openwith.js", "supported_objects": ["image"], "label": "FPBioimage"}]'
OMERO.py/bin/omero config append omero.web.apps '"omero_weberror"'
OMERO.py/bin/omero config append omero.web.apps '"omero_figure"'
OMERO.py/bin/omero config append omero.web.ui.top_links '["Figure", "figure_index",{"title": "Open Figure in new tab", "target": "_blank"}]'
OMERO.py/bin/omero config set omero.web.login_logo "/home/omero/OMERO.server-5.3.3-ice36-b63/lib/python/omeroweb/webclient/static/webclient/image/logo_CIRB.png"
OMERO.py/bin/omero config get
- Code: Select all
omero.web.application_server=wsgi-tcp
omero.web.apps=["omero_figure", "omero_fpbioimage", "omero_weberror", "omero_iviewer"]
omero.web.login_logo=/home/omero/OMERO.server-5.3.3-ice36-b63/lib/python/omeroweb/webclient/static/webclient/image/logo_CIRB.jpg
omero.web.open_with=["omero_iviewer", "omero_iviewer_index", {"supported_objects": ["image"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}, ["omero_fpbioimage", "fpbioimage_index", {"supported_objects": ["image"], "script_url": "fpbioimage/openwith.js", "label": "FPBioimage"}]]
omero.web.prefix=/omero
omero.web.static_url=/omero/static/
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "http://help.openmicroscopy.org/", {"target": "new", "title": "Open OMERO user guide in a new tab"}], ["Figure", "figure_index", {"target": "_blank", "title": "Open Figure in new tab"}]]
omero.web.viewer.view=omero_iviewer.views.index
Only the figure script is displayed in the web page and for the open with I have an empty list.
Edit : For the menus open with is ok now. Only the problem with the logo image is still present.
Philippe