Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
media_opengraph
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
media_opengraph
Merge requests
!2
Issue
#3335143
: Update README.md file according to "README.md template"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3335143
: Update README.md file according to "README.md template"
issue/media_opengraph-3335143:1.0.x
into
1.0.x
Overview
6
Commits
5
Pipelines
2
Changes
1
6 unresolved threads
Hide all comments
Merged
Charchil Khandelwal
requested to merge
issue/media_opengraph-3335143:1.0.x
into
1.0.x
2 years ago
Overview
6
Commits
5
Pipelines
2
Changes
1
6 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Compare
1.0.x
version 5
b95eba38
1 year ago
version 4
6fe23a8d
1 year ago
version 3
fdd9fc90
1 year ago
version 2
599e1fa5
1 year ago
version 1
1a92ef0a
2 years ago
1.0.x (base)
and
latest version
latest version
b95eba38
5 commits,
6 months ago
version 5
b95eba38
5 commits,
1 year ago
version 4
6fe23a8d
4 commits,
1 year ago
version 3
fdd9fc90
3 commits,
1 year ago
version 2
599e1fa5
2 commits,
1 year ago
version 1
1a92ef0a
1 commit,
2 years ago
1 file
+
36
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
+
36
−
23
Options
ABOUT
-----
# Media OpenGraph
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
This media type renders similar
ly
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.
custom
ize the
style/theme.
Example of three rendered
url
s:
-
First with no description tag
.
-
Second with neither image nor description tags
.
-
Third with description, image and title tags
.
Example of three rendered
URL
s:
-
First with no description tag
-
Second with neither image nor description tags
-
Third with description, image
,
and title tags

REQUIREMENTS
------------
For a full description of the module, visit the
[
project page
](
https://www.drupal.org/project/media_opengraph
)
.
Drupal 9 or 10 with media enabled. Media Library is recommended.
Submit bug reports and feature suggestions, or track changes in the
[
issue queue
](
https://www.drupal.org/project/issues/media_opengraph
)
.
INSTALLATION
------------
Install as you would normally install a contributed Drupal module. See the
[
install docs
](
https://www.drupal.org/docs/extending-drupal/installing-modules
)
if required in the Drupal documentation for further information.
**Composer is required.**
## Table of contents
CONFIGURATION
-------------
-
Requirements
-
Installation
-
Configuration
-
Maintainers
## Requirements
The module requires Drupal 9 or 10 with the Media module enabled. Media Library
is recommended.
## Installation
Install as you would normally install a contributed Drupal module. For further
information, see
[
Installing Drupal Modules
](
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
)
.
## Configuration
Site builders can customize the mapping of metatags to fields by creating a
new media type or editing the default media type.
@@ -46,7 +59,7 @@ 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.
## Maintainers
-
Nick Dickinson-Wilde -
[
NickDickinsonWilde
](
https://www.drupal.org/u/nickdickinsonwilde
)
Loading