Problem/Motivation

The rendering pipeline never gets to image fields, if a media reference field is empty.

Steps to reproduce

In the default Drupal install, add optional Image media reference field to a page.
Install and configure "Config default image" module as per instructions.
Create a a dummy page without adding media to the test field created above.
View the page - default image is never rendered.

Proposed resolution

Implement Thumbnail with default image field formatter.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

euk created an issue. See original summary.

euk’s picture

euk’s picture

I have a working solution - will post it soon, just need to refactor it to match the module namespace.