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

mikeryan’s picture

Status: Active » Postponed (maintainer needs more info)

You 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.

finkdb’s picture

That was it. Thanks!!

mikeryan’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.