Allow selecting a Formatter for image fields

Created on 5 May 2025, 4 months ago

Problem/Motivation

When using the standard Media Views at admin/content/media, we typically display Files, Videos, and Images.
In the view configuration, if we select the Media PDF Thumbnail Image formatter for the thumbnail field, we cannot select a formatter for media type Images, since they are stored in the field_media_image by default (with a field type of image, not file).

As a result, the view ends up rendering the original image for media of type Image, while other media types (which have a file field) display the expected thumbnail.

Proposed resolution

Allow selecting a formatter for all media types, not just file types.

I’ll start working on a technical solution,but I might be overlooking something so if anyone has other ideas, I’m all ears!

💬 Support request
Status

Active

Version

6.1

Component

Code

Created by

🇦🇺Australia GuillaumeG

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024