Ajouter un commentaire

Soumis par Thomas Factory (non vérifié) le 16/09/2016 à 00:40 - Permalien

Thank your for this detailed post, which contains an excellent overview of this complex module bundle. I have a specific question about managing different document types (pdf, xls, doc, ppt, etc.).

In the last two month I worked on my website based on Acquia Lightning (@phenaproxima). This great Drupal distribution has Media entity baked in with some preconfigured media bundles and entity browsers.

However, I did not find a way to assign different thumbnails for e.g. pdf-files or spreadsheets, because the markup for the Media thumbnail does not contain classes with MIME-information.

In Views (Media) I can achieve that, changing the Media thumbnail and the Media name to Media entity, but then, I cannot overwrite the Media name any more (which is necessary for Media names containing vowels).

Any idea, how this can be done?