Importing images from Posts

Pending

Import WP Updated 2 weeks ago 1 Reply

Adam asked 2 weeks ago on May 21, 2025 at 7:36 am

I understand how to import a featured image from a post, but is it also possible to automatically import other images (img tags) found in the post? My use case is that I\\\’m trying to migrate from HubSpot to WordPress. All images (featured or otherwise) are stored in HubSpot and will need to be ported over. Ideallyl, it would import the image into the WordPress media and then update the img src to point to this new URL. Maybe that\\\’s asking too much, though. Thank you in advance.

J

James replied Support Agent

2 weeks ago on May 21, 2025 at 8:03 am

Hi Adam,

An addon can be found: https://github.com/jcollings/importwp-inline-media, if you download (have attached the plugin) and activate it by default it searches the post_content field in the importer and will search for img tags src attribute and add that image to the media library.

There is documentation on the readme on how to restrict tags and which urls it should download but this is all done using wordpress filters.

If you need more help just let me know.

James