How to add media images to metatag in Drupal
The way to add metadata for node fields that use the Drupal media module for images, is to use the Drupal token system just as we do for any other regular field. The token system is really powerful and can create metadata and schema data to the exact specification of all your content types.