The rendering pipeline never gets to image fields, if a media reference field is empty.
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.
Implement Thumbnail with default image field formatter.
Active
2.0
Code