I have created a view to show my media entities (image gallery). I have added some taxonomy fields to my media images. When I click on the taxonomy links I would expect media tagged with those terms to show up, but instead the list is empty.

It appears the default taxonomy view is configured to only show 'content'. I have tried to create a view to show media as a taxonomy view instead, but was unable to make it work. Ideally for taxonomy to work well it seems like the list should show fields from both media and content at the same time, or at least from media alone.

Perhaps there is a way to do this in views, but I was unable to make it work. It seems unlikely both media and content tagged with the same term can be shown in the same taxonomy display. Perhaps this partially defeats the purpose of taxonomy, which seems like it should be able to be used on multiple entities simultaneously.

Comments

desierto created an issue. See original summary.

marcoscano’s picture

Status: Active » Closed (duplicate)

This is in fact a taxonomy component issue. The links the formatter renders point to the default taxonomy overview view, which is designed to work with nodes.

While there appear to be workarounds to modify the view and make it show also other entities, there is #1016942: Allow taxonomy/term pages to list multiple entity types to try and improve the solution more generically. (some workarounds are described in that issue)

So for now I think this could be marked as duplicate of that issue.

marcoscano’s picture

desierto’s picture

Thank you. Seems like this issue is far from being figured out at 7+ years old. To clarify taxonomy is currently not useful in D8 unless used with node content. Views actually does not appear to be able to usefully handle taxonomy terms for other entities as it is. I am not a coder, but it unfortunately appears that the taxonomy module would need to be re-written without the assumption it is for node content.

desierto’s picture

Component: media system » taxonomy.module

Per comment that this is really a taxonomy issue, not a media issue.