That's the direction I was heading then I thought I would ask. Thanks again, Ivan. So pretty much the only connection a thumbnail has with it's original is through filename? Nothing in SOLR or postgres.
In my case, I am trying to display a wall of thumbnails and they need to be the thumbnail of the primary bitstream. Do you think that it would be a legitimate feature request to keep track of that in postgres? And have that available from REST? I am surprised it's not already, but I would imagine that I might be asking for something completely irrelevant to what people usually do with dspace. Thanks again - Mark On Fri, Feb 19, 2016 at 6:01 PM, helix84 <[email protected]> wrote: > On Fri, Feb 19, 2016 at 9:15 PM, Mark Ehle <[email protected]> wrote: > > Still at it - with dspace 5.4, can REST give me the id of the primary > > bitstream thumbnail? If not, what's the postgres query that will do it? > Or > > is there a way besides those two? > > I haven't noticed that you could get the primary bitstream via REST. > Anyway, primary bitstream doesn't really have one clearly defined use > case in DSpace (although your instance may assign it a particular use > case). > > Connecting an ORIGINAL bitstream with a THUMBNAIL bitstream is not > straightforward, either. There is no relation assumed, it's only > consequential - if you created the thumbnails from the original > bitstreams, there will be a pattern in naming. The individual queries > will not be hard, but there will be many of them: > 1) look up item's ORIGINAL bundle > 2) look up that bundle's primary bitstream > 3) look up the primary bitstream's name in metadatavalue > 4) look up item's THUMBNAIL bundle > 5) look up a bitstream in the THUMBNAIL bundle by name (via > metadatavalue) which matches the name of the original bitstream + > '.jpg' > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
