Stream: implementers
Topic: media thumbnails
Jose Costa Teixeira (Dec 28 2017 at 17:35):
Is there any provision for media thumbnails? if the media is a video, we''d have a frame from a video. if a still image, we'd have a small jpeg...
John Moehrke (Dec 28 2017 at 18:03):
Jose, where the image is a DICOM image. First ImagingStudy would be used, not Media. The thumbnails can be gotten with the DICOM web access method. There is strong pushback on duplicating that API since it already exists and is well implemented in the DICOM world. @Elliot Silver
Jose Costa Teixeira (Dec 28 2017 at 18:06):
Ok, I can park DICOM for now, my interest is on the thumbnails.
Question is: I have a video or an image and i want a thumbnail with it . do we rely exclusively on the media's embedded thumbnails? Or is there a way to represent an additional thumbnail?
Grahame Grieve (Dec 28 2017 at 21:27):
would have to be an extension right now
John Moehrke (Dec 28 2017 at 21:58):
You could have two Media resources pointing at the full and thumbnail... but you would need to somehow relate them possibly with .partOf.
Elliot Silver (Jan 19 2018 at 21:12):
@Jose Costa Teixeira - interesting question. Can you file a tracker? This could be either a standard extension or a new element.
Jose Costa Teixeira (Jan 24 2018 at 17:05):
#14532.
I think having two media resources could be better to allow pre-display of thumbnails. I don't think .partOf should be relation to use, but rather a new relation (partOf is about the event, not about the content, and is not specific to say which is the thumbnail and which is the real thing. Details to be figured out in discussions.
Elliot Silver (Jan 24 2018 at 17:22):
Thanks. My inclination is an extension or new attribute for a thumbnail image, but we can discuss.
Jose Costa Teixeira (Jan 24 2018 at 17:26):
yep, one reason to have a separate resource would be to be able to fetch the thumbnails without getting all the actual media.
Isn't there a feature to get only some parts of the resource? Because that could work too
Elliot Silver (Jan 24 2018 at 17:37):
Yes, there is the ability to only retrieve some elements. (I'd need to double check if you can do that for extensions.) The other thing is I hope that people will use or profiles will require use of content.url rather than content.data.
Last updated: Apr 12 2022 at 19:14 UTC