RSS ticker widget cannot find image

To be completed by the original poster:

CMS Version

XIBO CMS 4.4.3 on Debian.

Player Type

Android (DSDA1)

Player Version

android 4-410

Issue

From a RSS ticker I connect to an RSS-feed from a Wordpress website. I use the popular plugin “Featured Images in RSS for Mailchimp & More” to add images to the RSS feed.

But I cannot get the widget to find the images in the RSS feed. I tried various combinations of settings.

The feed looks like this:

<item>

    <title>Million downloads for&#160;BayesicFitting</title>

    <link> https://www.sron.nl/en/actueel/million-downloads-for-bayesicfitting/ </link>

    

    <dc:creator><!\[CDATA\[Renske van den Berg\]\]></dc:creator>

    <pubDate>Thu, 21 May 2026 15:18:53 +0000</pubDate>

            <category><!\[CDATA\[Algemeen\]\]></category>

    <category><!\[CDATA\[News\]\]></category>

    <guid isPermaLink="false"> https://www.sron.nl/?p=15579 </guid>



                <description><!\[CDATA\[<img width="1232" height="1139" src="https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03.png" class="webfeedsFeaturedVisual wp-post-image" alt="" style="display: block; margin-bottom: 5px; clear:both;max-width: 100%;" link_thumbnail="" decoding="async" fetchpriority="high" srcset="https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03.png 1232w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-300x277.png 300w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-1024x947.png 1024w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-768x710.png 768w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-408x377.png 408w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-123x114.png 123w" sizes="(max-width: 1232px) 100vw, 1232px" /><p>Software developed at SRON in the 1990s for explanatory calculations in space research has proved to be of enduring value to the wider scientific community. The method, based on the mathematical work of the 18th-century mathematician Thomas Bayes, is now also an essential component of the software for the James Webb Space Telescope&#160;(JWST).</p>

The post Million downloads for BayesicFitting appeared first on SRON | Space Research Organisation Netherlands.

]]>

                                    <content:encoded><!\[CDATA\[<img width="1232" height="1139" src="https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03.png" class="webfeedsFeaturedVisual wp-post-image" alt="" style="display: block; margin-bottom: 5px; clear:both;max-width: 100%;" link_thumbnail="" decoding="async" srcset="https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03.png 1232w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-300x277.png 300w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-1024x947.png 1024w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-768x710.png 768w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-408x377.png 408w, https://www.sron.nl/wp-content/uploads/nieuwsbericht_bayesicfitting_03-123x114.png 123w" sizes="(max-width: 1232px) 100vw, 1232px" />

Software developed at SRON in the 1990s for explanatory calculations in space research has proved to be of enduring value to the wider scientific community. The method, based on the mathematical work of the 18th-century mathematician Thomas Bayes, is now also an essential component of the software for the James Webb Space Telescope (JWST).

The post Million downloads for BayesicFitting appeared first on SRON | Space Research Organisation Netherlands.

]]></content:encoded>

        </item>

I think think the image needs to be it’s on tag, not part of the description.

My RSS feed has as an tag with the image URL in it. Then in the layout editor, I selected Enclosure as the image tag.

Ah that is only available in the paid version of the plugin:

  • Media and Enclosure Tags: Some services require it and it allows you to custom design email templates.

I removed the plugin and added this to functions.php:

function xibo_clean_rss_images() {
global $post;

    if (has_post_thumbnail($post->ID)) {

            $thumbnail_id = get_post_thumbnail_id($post->ID);

            $url = wp_get_attachment_url($thumbnail_id);

            $length = filesize(get_attached_file($thumbnail_id));

            $type = get_post_mime_type($thumbnail_id);



            // Injects a perfect, un-scrubbable media tag into the RSS stream

            printf('<enclosure url="%s" length="%s" type="%s" />', $url, $length, $type);
    }

}