title: Photo RSS Feed Display
body: <p>i have a wordpress blog <a href="http://cgvector.com" rel="nofollow">http://cgvector.com</a> and I want to <strong>show Featured Images in RSS Feed</strong>. How can i do this? My feed address is: <a href="http://feeds.feedburner.com/cgvector" rel="nofollow">http://feeds.feedburner.com/cgvector</a></p>
  
  <p>i have add this code but it's not working.</p>
  
  <pre><code>function featuredtoRSS($content) {
      global $post;
  
      if ( has_post_thumbnail( $post-&gt;ID ) ){
      $content = '' . get_the_post_thumbnail( $post-&gt;ID, 'thumbnail', array( 'style' =&gt; 'float:left; margin:0 15px 15px 0;' ) ) . '' . $content;
      }
  
      return $content;
  }
  
  add_filter('the_excerpt_rss', 'featuredtoRSS');
  add_filter('the_content_feed', 'featuredtoRSS');
  </code></pre>