Closed (fixed)
Project:
WordPress Migrate
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2016 at 20:18 UTC
Updated:
24 Sep 2023 at 07:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mikeryanComment #3
mikeryanComment #4
Trav84 commentedIs there any update/progress on this? It looks as if the core issue this was waiting on has been resolved, just wondering if this is still in the works.
Comment #5
ipa 🍺 commentedI'm interested to, any news on this one?
Comment #6
ipa 🍺 commentedHere is a patch that will import all Wordpress attachments and assigns the "Featured images" to a selected image field in Drupal.
Things still to do:
- Alt texts migrations
- Rewrite links/images sources in texts. @see: https://www.drupal.org/node/2742279
To make the process tab in the UI working with the attachments migration you need this patch for the migrate_tools module: https://www.drupal.org/files/issues/process_interface_warning_error_mult...
Comment #7
hongpong commentedThank you for looking into this!!
Comment #8
anruetherCan you give me an idea what is needed to integrate alt text?
Otherwise I am able to migrate the image with the patch in #6:
Comment #9
damienmckennaJust to mention it, I'm using the patch above with the latest -dev codebase and it appears to be working on a custom migration, I just needed to update my customized yml file accordingly (basically recreating it from the latest version). Good work!
Comment #10
caspervoogt commented#6 is working great for me
Comment #11
gmangones commentedHello, I apply this path, the content import super, the image is placed in image_feature/*, but in content type the field_image is not uploaded or saved the image. How is work?
Thanks
Comment #12
hongpong commentedRe-roll from current head. Patch attached.
Also on new file ImageSelectForm.php this should be a dependency injection:
@gmangones you should run the image import before running the content import. That seems to work correctly.
Comment #13
hongpong commentedComment #15
hongpong commentedThank you everyone!!!
I have updated the Readme to address that this does not change the inline file references (that is the body links to images are not updated). Featured images should be OK.
Next related issues:
If people have problems with this process please open a new issue with enough information to reproduce it, or comment on the appropriate existing issue.
Comment #17
oknaru commentedI am having same issue as per #11, any help is much appreciated
Comment #18
hongpong commentedHello oknaru,
I have posted a new version alpha6 with ctools v4 and migrate_plus v6, can you give that a try? If the issue recurs please file a new issue.