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.
There should be a field handler to migrate the title field to the imagefield, which the d6 image_caption module used to create captions to image_field_caption.
Comments
Comment #1
tommeir CreditAttribution: tommeir commentedSubscribing...
anyone knows how to extend MigrateImageFieldHandler to support the caption parameter added by this module?
Comment #2
someguy9 CreditAttribution: someguy9 commentedI'm able to get the field I need from D6 but can't seem to map the field to the D7 caption field, an update on this would be nice
Comment #3
iStryker CreditAttribution: iStryker commentedI have no clue how to do this. Just opened a support request in the migration module issue. #2450955: Support for Image Caption Module D6-D7
Comment #4
ngocketit CreditAttribution: ngocketit commentedCouldn't find a proper solution and I ended up having following piece of code:
In the complete() method, the node is freshly loaded and the image_field_caption property is assigned before the node gets saved again. Seems to work for me.
Comment #5
iStryker CreditAttribution: iStryker at University of Waterloo commentedClosing all 7.x issues