Image widget default image

Categories

Component ID

2325265

Component name

Image widget default image

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1693

Component created

Component changed

Component body

This is a little utility module that shows the default image of an image field as part of the image widget, if no image has been uploaded yet. It is displayed in the same way that the image preview of images that have been uploaded is displayed.

The display logic is identical to that of the image formatter: If the field instance has defined a default image, that is displayed. Else, if the field has defined a default image, that is displayed. Else no image is displayed, just like without this module.

The module does not come with any configuration or permissions.

Drupal 8

As of f070288 the functionality this module provides is part of Drupal 8's Image module!