Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add representative image to Dataset #241

Open
agbeltran opened this issue Jul 27, 2020 · 1 comment
Open

Add representative image to Dataset #241

agbeltran opened this issue Jul 27, 2020 · 1 comment
Labels
enhancement schema this involves changes to the ICAT schema

Comments

@agbeltran
Copy link
Member

In order to display it in Graphical User Interfaces, it would be useful to have a representative image associated with a Dataset.

I suggest we add an image field to the Dataset class (https://repo.icatproject.org/site/icat/server/4.10.0/schema.html#Dataset). The ingestion process would select what that image should contain.

@RKrahl
Copy link
Member

RKrahl commented Mar 4, 2021

Just an idea, not sure if it is really useful: if we worry about the Dataset table to become too big because of all those thumbnail images, we could also store the thumbnails as files in the storage and make that image attribute in Dataset a relation to Datafile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement schema this involves changes to the ICAT schema
Projects
None yet
Development

No branches or pull requests

2 participants