Project/Dataset representative Image
Posted: Thu Apr 10, 2014 1:58 am
Hi,
I'm trying to develop OMERO as a public facing website and am having varied success with omeroweb and Django.
To aid navigation I have a page that displays all Projects with appropriate links to follow through to Datasets and then on to individual Images. What I'd like is to represent each Project by rendering one of the Images from one of the Datasets within the Project (and I'd like to do this with the subsequent Dataset lists too, rendering a representative Image from within the Dataset).
My question: is there a way to tag an Image so that it can be used as the thumbnail for either a Project or Dataset that it is a child of?
Workarounds that I've considered are: choosing a random image from the Project/Dataset's children or adding a metatag into one of the existing annotation fields and then parsing during page load, or possibly even adding an image file to the Project/Dataset's 'attachments'.
Problems that I'm having: random images may not look good! parsing text tags is slow and seems less elegant somehow. I don't know how to access the 'attachments' to display any image files uploaded in that way.
Any and all suggestions appreciated.
Thanks,
Rob
I'm trying to develop OMERO as a public facing website and am having varied success with omeroweb and Django.
To aid navigation I have a page that displays all Projects with appropriate links to follow through to Datasets and then on to individual Images. What I'd like is to represent each Project by rendering one of the Images from one of the Datasets within the Project (and I'd like to do this with the subsequent Dataset lists too, rendering a representative Image from within the Dataset).
My question: is there a way to tag an Image so that it can be used as the thumbnail for either a Project or Dataset that it is a child of?
Workarounds that I've considered are: choosing a random image from the Project/Dataset's children or adding a metatag into one of the existing annotation fields and then parsing during page load, or possibly even adding an image file to the Project/Dataset's 'attachments'.
Problems that I'm having: random images may not look good! parsing text tags is slow and seems less elegant somehow. I don't know how to access the 'attachments' to display any image files uploaded in that way.
Any and all suggestions appreciated.
Thanks,
Rob