RSS Images¶
Free built-in module. RSS Images adds each post's featured image to your RSS feed, so feed readers, newsletters and social tools can show a picture with every item.
Open it from Automation > RSS Images in the OG AI Core rail (admin.php?page=ogaie_rss_images). The How it works card has an Open your feed link to check the result.
What it adds¶
- The
medianamespace on your RSS2 feed. - A
<media:content url="..." medium="image" />tag on every item that has a featured image.
Comment feeds are left alone.
Settings¶
| Setting | Key in ogaie_module_rss |
Default |
|---|---|---|
| Image size | image_size |
large |
| Also show the image at the top of each feed item | in_content |
Off |
- Image size lists
fulland every image size registered on your site. - Also show the image at the top of each feed item is for feed readers that ignore the media tag. The image is placed at the top of the excerpt and content of each item.
Developers¶
// Use a different image size in the feed.
add_filter( 'rfi_rss_image_size', function ( $size ) {
return 'medium_large';
} );