• m221

    (@m221)


    Hello,

    I’ve got a small problem…
    I’m running a blog for a client. The RSS feed doesn’t show the images, which are integrated in every blog post.

    I was already searching for that problem on Google and other sources. Most people say the problem’s due relative image paths, which I already checked (if I’m not completely confused ;-)).

    Are there any other reasons if a RSS feed doesn’t show the images?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you actually included the images in the feed? It’s not done by default…

    At least for featured images/thumbnails

    Of course I’mnot sure which images you are referring to.

    // THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
    add_filter( 'the_excerpt_rss', 'voodoo_insertThumbnailRSS' );
    add_filter( 'the_content_feed', 'voodoo_insertThumbnailRSS' );
    function voodoo_insertThumbnailRSS( $content ) {
    
    	global $post;
    
    	if ( has_post_thumbnail( $post->ID ) )
    		$content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail' ) . '' . $content;
    
    	return $content;
    }

    in functions.php will include the thumbnail size featured image in the rss feed

    Thread Starter m221

    (@m221)

    Thanks a lot. I mean the “normal” images which are included in each post (no featured images).

    It’s a modified/cutomized TwentyTen theme and I thought the images will be included in the RSS feed by default.

    https://wordpress.stackexchange.com/questions/10447/how-to-grab-first-image-attached-to-post-and-display-in-rss-feed

    Check that link out… I’m honestly not sure, but I don’t think images are included in the feed by default

    Thread Starter m221

    (@m221)

    Thanks a lot! I will that check out

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Images in RSS Feed’ is closed to new replies.