Infogram charts
20 sites
No security coverage
This module allows you to embed Infogram charts and graphics into your Drupal site. You can either paste embed codes directly into your content or manage them as media entities.
Integration of https://infogram.com graphs embed codes with a wysiwyg filter or media entities.
Installation
The module depends on hook_oembed_resource_data alter for thumbnails generation, which itself needs a core patch found here: https://www.drupal.org/project/drupal/issues/3042423.
To apply this patch with composer you will need "cweagans/composer-patches"
WYSIWYG integration
- Enable the Infogram embed codes filter in your text format configuration (/admin/config/content/formats/manage/{format}).
- Use a Wordpress code from your Infogram account:
[infogram id="{id}" format="{format}" prefix="ignored" title="ignored"]) - The infogram content will appear on the page
Media library
- Go to /media/add/infogram, or open the media library
- Copy and paste any infogram.com url from the "Share" tab
- The media infogram media is ready to be used
Roadmap
- Fix thumbnails preview and default config for first stable release
- Resizing in wysiwyg
- Library explorer with API keys
Stable release blocker: https://www.drupal.org/project/drupal/issues/3042423
Inspired by the Infogram wordpress plugin.