Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Media orientation

251 sites Security covered Drupal 10–11
View on drupal.org

This module allows you to store and use image orientation data (landscape, portrait, square) within Drupal's media system. It enables displaying or filtering media based on its orientation and includes a Drush command to re-save existing media to add this orientation information.

What does it do?

For media image types it allows you to select a field where the orientation information about the image is saved.

This information can be used to display the orientation and or to filter upon this orientation in the media library.

Also contains a drush command to re-save all media of a specific bundle. (So that orientation is added/saved for existing media)

@usage mo:resave image

How to

  1. Have a media Image type
  2. Install media & this module
  3. Create a list field of numbers on the media type with:
    1|Landscape
    2|Portrait
    3|Square
  4. Select the list field of numbers for Media orientation (On the media type configuration page)
  5. Adapt the Media library view for example or the form display to display this orientation

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Apr 2023
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.4 Stable 10–11 Aug 11, 2026
1.0.3 Stable 10–11 Aug 11, 2026
1.0.2 Stable 10–11 Aug 11, 2026
1.0.1 Stable 9–10 Feb 9, 2024
1.0.0 Stable Apr 26, 2023
1.0.x-dev Dev Apr 24, 2023