Filtering images in content imported from WordPress

In a setup where a WordPress site is connected to Discourse, is it possible to filter out the images from the first post content in the topics created? Would publishing just the excerpts filter images even if they are embedded at the top of the blog posts?

The use case: we are planning to connect our Discourse with an independent online newspaper. They produce a lot of news, usually with images. Their images are not critical for the discussion in Discourse, and we are likely to post excerpts only in order to encourage full article reading in their site. We want to avoid risks of licensing problems and also save storage space.

Yes, images are filtered out of excerpts. To have no images from the post show up on Discourse, you will also need to unselect the ‘embed truncate’ setting on Discourse.

3 Likes