We will be on vacation between the 8-12th January 2025, ticket responses maybe be longer than normal during this period, sorry for any inconvenience.

Trouble importing featured images

Pending

Import WP Pro Updated 4 days ago 1 Reply

Vince asked 1 week 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 days 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