Media on Demand
No security coverage
This module helps migrate media references within HTML content. It automatically converts image tags or other media references into Drupal media entity embeds, handling file copying and duplicate avoidance internally.
This module is designed to assist with migration of media, particularly when migrating HTML-like content with references to media.
The basic premise is being able to turn something like this:
<img src="puppy.jpg alt="...">
into this:
<drupal-media uuid="4bff6314-3bb8-4a4c-8049-20afdac121ef">
The mechanics of copying files, creating media entities and avoiding duplicates all happens behind the scenes.