Trouble importing featured images

Closed

Import WP Pro Updated 4 days ago 2 Replies

Vince asked 1 month ago on January 1, 2026 at 5:41 pm

Hello,

I’d like to import and attach featured images to a batch of CPTs “locations” I’m importing. 

Attached is a JSON export of my importer along with the CSV I’m trying to import. 

For reference, I created this CPT using JetEngine. I’m not sure that it matters, but I thought I’d mention it.

Thanks,

Vince

J

James replied Support Agent

4 weeks ago on January 5, 2026 at 8:42 pm

Hi Vince,

I am unsure what your attachment location is doing / have a mistake, 

[str_replace('/wp-content', 'https://staging.atlasarcadia.org/wp-content', {3})]

As the function stub is str_replace($search, $replace, $subject) , i think yout have the search and replace the wrong way round.

However, this is not the issue as using the media download method it will check based on existing filenames that exist in the media library so you will in theory not need to do this, and instead can just use the selector {3}.

Based on your csv, the image column is seperated via a "|" delimiter, if you set the delimiter for this importer field, under the show settings button > delimiter (by default this is set to ",").

Hope this fixes the issue.

James

 

J

James replied Support Agent

4 days ago on January 30, 2026 at 2:09 pm

Hello Vince

This ticket is being marked as closed due to inactivity.

If this is not the case, please reply to this ticket to re-open it.

James