Last updated September 3, 2020

A commonly asked question is, "How do you add images to the body of a node in Drupal?" You can allow users to embed images, videos, or any other Media into the body of a page using the WYSIWYG editor. In this tutorial, we'll show you how to enable Drupal's Insert Media button for CKEditor, and configure the corresponding text format so that it can render embedded Media entities.

Content authors can then use the Media Library to select images (or other media) to embed into the page.

In this tutorial we'll:

  • Learn how to enable the Insert Media button for CKEditor
  • Demonstrate how to insert media into the body of a content item (or any other text field)

By the end of this tutorial you should know how to configure Drupal to allow content authors to embed images in content.