Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

media_opengraph

28 sites Security covered
View on drupal.org

ABOUT

Media OpenGraph provides a new media source plugin and a default media type
using it.

This media type renders similar to pasting a link into Twitter or Facebook -
grabs the metatags/open graph tags from an external link and renders a preview
locally. The default media type maps an image metatag, title and description
with some very basic styling. It is expected that most sites would want to
custom style/theme.

Example of three rendered urls:

  • First with no description tag.
  • Second with neither image nor description tags.
  • Third with description, image and title tags.

REQUIREMENTS

Drupal 9 or 10 with media enabled. Media Library is recommended.

INSTALLATION

Install as you would normally install a contributed Drupal module. See the
install docs
if required in the Drupal documentation for further information.
Composer is required.

CONFIGURATION

Site builders can customize the mapping of metatags to fields by creating a
new media type or editing the default media type.

Metatags results from fetching of pages is cached in the Drupal backend cache
for 1hr. Any mapped metadata onto fields on media are normally semi-permanent
ie, only changed if you change the source field and resave. Metatags on pages
outside of your site/control are a lot more likely to change than metadata on
files that you've uploaded. By default data is cached for 1 week.

Advanced site builders can use non-documented metatags by manually editing and
importing config.

FAQ

Any questions? Ask away on the issue queue or contact the maintainer.

Activity

Total releases
2
First release
Sep 2025
Latest release
6 months ago
Release cadence
1 day
Stability
50% stable

Releases

Version Type Release date
2.0.0 Stable Sep 29, 2025
2.x-dev Dev Sep 28, 2025