We're Hiring!

Thumnail size of OMERO.web

General user discussion about using the OMERO platform to its fullest. Please ask 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

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Thumnail size of OMERO.web

Postby Kouichi_C_Nakamura » Wed Jul 11, 2018 1:13 pm

I know that there is a slider in OMERO.web or OMERO.insight that allows you to enlarge the thumbnails in a dataset or project. But it's just zooming up the same thumbnails. it looks like that the default thumbnail size is limited up to 96 pixels in either of dimensions.

If there is a configuration parameter with which you can increase the resolution of thumbnails, eg. to 256, please let me know.
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Thumnail size of OMERO.web

Postby sbesson » Thu Jul 12, 2018 12:46 pm

Hi Kouichi,

I know that there is a slider in OMERO.web or OMERO.insight that allows you to enlarge the thumbnails in a dataset or project. But it's just zooming up the same thumbnails. it looks like that the default thumbnail size is limited up to 96 pixels in either of dimensions.


Yes 96 is the default thumbnail size for the server and the clients at the moment.

If there is a configuration parameter with which you can increase the resolution of thumbnails, eg. to 256, please let me know.


A configuration property exists that allows to override the client thumbnail size - see omero.client.browser.thumb_default_size.

Let me mention a couple of facts to take into consideration before consuming it:
  • this configuration property is only implemented in the OMERO.web client at the moment
  • this configuration needs to be set at the OMERO.web deployment level and will globally affect all users of a Web instance
  • related to the above, the thumbnails stored by the OMERO server are generated with the default size of 96 and this size is not configurable at the moment. Having the client asking for a different thumbnail size could have some impact in terms of performance.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: Thumnail size of OMERO.web

Postby Kouichi_C_Nakamura » Thu Jul 12, 2018 1:29 pm

Thanks!
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: Thumnail size of OMERO.web

Postby wmoore » Fri Jul 13, 2018 4:33 am

Hi,

Unfortunately I think this configuration is not going to work in the webclient since we changed the way that we load thumbnails.
Instead of loading individual images, we now batch load thumbnails as JSON data using webclient/get_thumbnails/?

https://github.com/openmicroscopy/openm ... ls.py#L116

but this currently has no way to pass the size to the webgateway get_thumnails_json method https://github.com/openmicroscopy/openm ... s.py#L1541 even though that method does have a width 'w' parameter.

I've created a card https://trello.com/c/cZ2Ww8nA/16-bug-we ... ize-config to fix this since it was also requested at https://github.com/openmicroscopy/desig ... -394691752 although the performance issues as mentioned by Sebastien will still be an issue.

Regards,

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


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron