Closed (fixed)
Project:
WordPress Migrate
Version:
7.x-2.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2012 at 19:44 UTC
Updated:
24 Jan 2013 at 03:50 UTC
The wordpress site has images within the body using html. Here's an example from the .xml file:
<img id="image225" alt="" src="http://www.website.com/wp-content/uploads/2006/09/go.png" />
Now... here's how it's imported:
[[{"type":"media", "view_mode":"media_large", "fid":"255", "attributes":{"class":media-image post_images", "typeof":"foaf:Image", "style":"", "alt":""}}]]
I've tried importing as full and filtered html. Any ideas? I have 250+ posts to import, so manually changing things won't work.
Here's a screen shot of one of the nodes. You can see it did import some images, but even then it still left in a bunch of extra characters about the image.
Comments
Comment #1
mikeryanYou have the Media module enabled, so the migration renders image references as media tags - you need to change your filter to interpret the tags. See #1642352: Media Links.
Comment #2
cfox612 commentedThat was it. Thanks!
Comment #3
mikeryanActually, this is the second time this has come up, so I should document this issue. I had assumed the Media module automatically made the proper setting on filters, but it seems not...
Comment #4
mikeryan@geekgirlweb created a page for this at http://drupal.org/node/1870458, thanks. Rather than have a stand-alone page, I've converted into FAQ form, other issues like this should be added on that page.
Comment #5.0
(not verified) commentedAdded image