
This module serves two main purposes:
- Making it easier to customize the output of image-based media entities via display formatter. The image style, custom classes, and other HTML attributes can be specified directly in a new formatter for media reference fields.
- Making it easier to output file-based media entities like image- and video- based media entities in Twig. The image style, custom classes, and other HTML attributes can be specified directly in Twig. Cache metadata for the media is handled automatically.
The `media_helper` service that powers the additional formatter and Twig functions provides public methods that can assist with programmatic rendering.
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Content display, Developer tools, Media
11 sites report using this module
- Created by bvoynick on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.