Helps convert existing image fields to Media fields. The module adds a new Media field to the bundle and updates all entities. After that, each entity will have the Media field populated with the same image items that the Image field has. To prevent of duplicate creation, sha1 hash of image files compares.

Configuration

For the module to work, the following conditions must be met:

  1. The "Image" media type should exist in your system.
  2. The "Image" media type should have the field of the "Image" field type with the machine name "field_media_image".

So check if they exist, and if not, then create them. You can do it from UI by visiting "/admin/structure/media/add"
Also, you can copy missing config files from "/core/profiles/standard/config/optional" to the related folder of your profile.

Uses

1. Visit "Manage fields" tab and choose the Image field you want to migrate to Media.
2. Click on the "Clone to media" operation.
3. Enter the name of the Media field and click on the "Proceed" button.

screenshot-1

Similar projects

Sponsors

 Nextcorp, G&G SARL www.gontcho.com

Supporting organizations: 
Sponsoring co-maintainer + maintenance - smustgrave

Project information

Releases