This module provides Imgur integration (i.e. media type provider plugin) for Media Entity Module.

media-entity-imgur

Installation

  1. Enable the media_entity and media_entity_imgur module.
  2. Go to /admin/structure/media and click 'Add media bundle' to create a new bundle.
  3. Under Type provider select Imgur.
  4. Save the bundle.
  5. Add a field to the bundle to store the imgur source. (this should be a plain text field).
  6. Edit the bundle again, and select the field created above as the Imgur source field.

Usage

Check Usage Guide

Integration with Imgur API

Without Imgur API

If you need just to embedded pics, you can use this module without using Imgur's API. That will give you access to the only field available from the embed code.

With Imgur API

Enable the Imgur API option. That will give you access to the only field available from the API Endpoint.

Integration with Lightning Media

Media Entity Imgur can be used with its companion module for Lightning Media. More information can be found at https://www.drupal.org/project/lightning_media_imgur and https://github.com/dakkusingh/lightning_media_imgur

Project Code

Project information

Downloads