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

Media EVA not rendering all media #1242

Open
mjordan opened this issue Aug 8, 2019 · 2 comments
Open

Media EVA not rendering all media #1242

mjordan opened this issue Aug 8, 2019 · 2 comments
Labels
Type: question asks for support (asks a question)
Milestone

Comments

@mjordan
Copy link
Contributor

mjordan commented Aug 8, 2019

I'm playing with EVA settings to see if I can get all media with a specific tag (in this case, "Service file") to show up within the node display. In other words, the user should see not just one image, but all images tagged as "Service file".

I have two "Service files" on an Image node. When I change the pager in the Media EVA View -> Service File display from the default " Display a specified number of items" > 1 to "Display all items", the View works as expected in the Preview, i.e., I pop in the node ID that has the two service files, and they both show up in the Preview as expected. But back at my normal node display, only the first service file is showing up.

I tried clearing the cache with no luck. Does anyone know why the EVA works as expected ("expected" here meaning I expect to see both of my service files in the node display similar to how they show up in the View Preview). I will also add that when I add a Footer to this diplay, it shows up as expected in the Preview but not in the node display.

Is this how the EVA should work, or am I misunderstanding how they work?

@mjordan
Copy link
Contributor Author

mjordan commented Oct 1, 2019

Over at Islandora/openseadragon#16 @dannylamb suggested I try making multi-valued file field on a media. I set the cardinality of field_media_image on Image media to 2, and it let me upload two images:

multiple1

But the technical metadata (width, size, etc.) only applies to one of the images. Likewise, in the Media view for the parent node, the derivatives for only one of the images is showing up:

multiple2

So I'm not sure this approach meets my need here.

But, I need to ask, am I the only person who would want to have multiple files (or media of a given Media use value) associated with a parent node? Compound objects are not out of the question, but for the following situations (which we discussed in a Tech Call), I think they are overkill:

  • video objects that have multipart video files, split up because a single file is too large to handle or because they were digitized from multiple tapes (for example)
  • a thesis object that has a PDF, several video data files, and a CSV or spreadsheet data file
  • a postcard that has a front and a back image

@seth-shaw-unlv
Copy link
Contributor

seth-shaw-unlv commented Oct 1, 2019

I don't know that they are overkill, but the UI is certainly awkward for them. We are using compound objects for things like oral histories and postcard recto/verso; but we are also bulk loading everything and avoiding the web UI at the moment anyway.

It seems like the Paragraphs module would be some useful inspiration for making "lightweight compound objects". I know @alxp has a session next week that mentions Paragraphs which could prove very interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: question asks for support (asks a question)
Projects
Development

No branches or pull requests

4 participants