Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I migrated a Wordpress site over using a WXR file, all of the embedded images were replaced with links similar to this: [[{"type":"media","view_mode":"media_large","fid":"2366","attributes":[{"class":"media-image","typeof":"foaf:Image","style":"","width":"602","height":"417"}]}]]
Is there anyway to keep the embedded media within the post?
Thanks.
Comments
Comment #1
mikeryanYou have the Media module enabled, correct? And you're saying when you view (not edit) the nodes you're seeing the media embeds ([[{"type":"media"," etc.) instead of the image itself? Please go to /admin/config/content/formats and make sure that the text format you've chosen for the imported bodies has "Convert Media tags to markup" enabled.
Comment #2
finkdb CreditAttribution: finkdb commentedThat was it. Thanks!!
Comment #3
mikeryan