This module allows content editors to select a display view mode for an entity using thumbnail images. Developers can provide custom thumbnails, and editors can choose one from the entity's edit form to influence how it's displayed.
The View Mode Selector Field Module allows editors to select a view mode for
the an entity thanks to a list of thumbnails images.
Developers can add thumbnails images in a specific folder
(theme/view_mode_thumbnails/{entity_type_id}/{bundle}/{group}) in the wanted
theme.
Once done, editors will see these images in the edition form of the entity. Then, they
will be able to select one image as a view mode (based on image file name).
Once done, the module will add a suggestion part in the template of the edited entity
according to the selection of the editors. For example, if the editor select
an image called
"theme/view_mode_thumbnails/{entity_type_id}/{bundle}/{group}/left.png"
then a suggestion prefixed by 'f_' will be added in the suggestions list. Ex:
Ask your assistant about View Mode Selector Field
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.1.1 | Stable | 9–11 | Aug 6, 2026 | ||
| 2.1.0 | Stable | 9–11 | Mar 10, 2026 | ||
| 2.0.1-rc1 | Pre-release | 9–10 | Jun 26, 2023 | ||
| 2.0.0 | Stable | 9–10 | May 17, 2023 | ||
| 2.0.0-rc2 | Pre-release | 9–10 | May 17, 2023 | ||
| 1.0.0-rc9 | Pre-release | 8–9 | Mar 28, 2023 | ||
| 1.0.0-rc8 | Pre-release | 8–9 | Mar 27, 2023 | ||
| 1.0.0-rc7 | Pre-release | 8–9 | Mar 27, 2023 |