<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: No RSS feed images</title>
		<link>http://www.kriesi.at/support/topic/no-rss-feed-images</link>
		<description>Support Forum - Topic: No RSS feed images</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 12:06:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/no-rss-feed-images" rel="self" type="application/rss+xml" />

		<item>
			<title>James Morrison on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-2351</link>
			<pubDate>Mon, 09 Aug 2010 14:35:43 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">2351@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; What happens if you use the code I previously posted? &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mexplora on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-2279</link>
			<pubDate>Sun, 08 Aug 2010 20:32:25 +0000</pubDate>
			<dc:creator>mexplora</dc:creator>
			<guid isPermaLink="false">2279@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;we tried also this code in functions.php but nothing :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function add_image_custom( $content ) {

	remove_filter(&#38;#39;the_content&#38;#39;, &#38;#39;add_image_RSS&#38;#39;);
	add_filter(&#38;#39;the_content&#38;#39;, &#38;#39;add_image_custom&#38;#39;);

	global $post, $id;
	$blog_key = substr( md5( get_bloginfo(&#38;#39;url&#38;#39;) ), 0, 16 );
	if ( ! is_feed() ) return $content;

	// Get the &#38;quot;image&#38;quot; from custom field
	$image = get_post_meta($post-&#38;gt;ID, &#38;#39;_wp_attached_file&#38;#39;, $single = true);
	$image_width = &#38;#39;104&#38;#39;;

	// If there&#38;#39;s an image, display the image with the content
	if($image !== &#38;#39;&#38;#39;) {
		$image = &#38;#39;&#38;lt;p style=&#38;quot;float:right; margin:0 0 10px 15px; width:&#38;#39;.$image_width.&#38;#39;px;&#38;quot;&#38;gt;
		&#38;lt;img src=&#38;quot;http://www.mexplora.com/viajes-mexico/wp-content/uploads/&#38;#39;.$image.&#38;#39;&#38;quot; /&#38;gt;
		&#38;lt;/p&#38;gt;&#38;#39; ;
		echo $image;
                return $content;
	} 

	// If there&#38;#39;s not an image, just display the content
	else {
		$content = $content;
		return $content;
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>mexplora on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-2277</link>
			<pubDate>Sun, 08 Aug 2010 20:02:18 +0000</pubDate>
			<dc:creator>mexplora</dc:creator>
			<guid isPermaLink="false">2277@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;HI everyone, we have the same problem with RSS Image Feed.&#60;/p&#62;
&#60;p&#62;I wish to have the feeds like this:&#60;br /&#62;
&#60;a href=&#34;http://notiziefresche.info/feed/&#34; rel=&#34;nofollow&#34;&#62;http://notiziefresche.info/feed/&#60;/a&#62; and like this &#60;a href=&#34;http://notiziefresche.info/feed/rss/&#34; rel=&#34;nofollow&#34;&#62;http://notiziefresche.info/feed/rss/&#60;/a&#62;&#60;br /&#62;
but we have this, now:&#60;br /&#62;
&#60;a href=&#34;http://www.mexplora.com/viajes-mexico/feed/&#34; rel=&#34;nofollow&#34;&#62;http://www.mexplora.com/viajes-mexico/feed/&#60;/a&#62; and this &#60;a href=&#34;http://www.mexplora.com/viajes-mexico/feed/rss/&#34; rel=&#34;nofollow&#34;&#62;http://www.mexplora.com/viajes-mexico/feed/rss/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;We tried with your solution, and now we are in this solution on functions.php of theme Newscast:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function rss_post_thumbnail($content) {
global $post;
if(has_post_thumbnail($post-&#38;gt;ID)) {
$content = &#38;#39;&#38;lt;p&#38;gt;&#38;#39; . get_the_post_thumbnail($post-&#38;gt;ID) .&#38;#39;&#38;lt;/p&#38;gt;&#38;#39; . get_the_content();
}
return $content;
}
add_filter(&#38;#39;the_excerpt_rss&#38;#39;, &#38;#39;rss_post_thumbnail&#38;#39;);
add_filter(&#38;#39;the_content_feed&#38;#39;, &#38;#39;rss_post_thumbnail&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, who can help us? how we can to do for to go in goal?&#60;br /&#62;
nice day ;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-2006</link>
			<pubDate>Thu, 05 Aug 2010 14:24:04 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">2006@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;Awesome, I'm glad you sorted this out.&#60;/p&#62;
&#60;p&#62;If you have any other questions, let me know.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>OwenDevelopment on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-1976</link>
			<pubDate>Thu, 05 Aug 2010 08:14:28 +0000</pubDate>
			<dc:creator>OwenDevelopment</dc:creator>
			<guid isPermaLink="false">1976@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi James,&#60;/p&#62;
&#60;p&#62;I altered the code and changed the thumbnail size in 'Settings' --&#38;gt; 'Media' in wordpress admin.  All (new) images are now at desired size.  As newscast uses Tim Thumb across the site for thumbnails and not the Wordpress thumbnail settings (150x150px), it works a charm.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-1905</link>
			<pubDate>Wed, 04 Aug 2010 12:18:13 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">1905@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;If you're comfortable adding PHP functions then forget the plugin. I've used this code before for a client and this worked (for categories as well):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function rss_post_thumbnail($content) {
global $post;
if(has_post_thumbnail($post-&#38;gt;ID)) {
$content = &#38;#39;&#38;lt;p&#38;gt;&#38;#39; . get_the_post_thumbnail($post-&#38;gt;ID) .&#38;#39;&#38;lt;/p&#38;gt;&#38;#39; . get_the_content();
}
return $content;
}
add_filter(&#38;#39;the_excerpt_rss&#38;#39;, &#38;#39;rss_post_thumbnail&#38;#39;);
add_filter(&#38;#39;the_content_feed&#38;#39;, &#38;#39;rss_post_thumbnail&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Regarding the image size, your code specified the 'thumbnail' size which is usually very small. What size do you want the images to be?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>OwenDevelopment on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-1830</link>
			<pubDate>Tue, 03 Aug 2010 14:31:06 +0000</pubDate>
			<dc:creator>OwenDevelopment</dc:creator>
			<guid isPermaLink="false">1830@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;No.  I want images to appear in the actual RSS feed.&#60;/p&#62;
&#60;p&#62;I know there's a plugin for adding thumbnails from an image attachment into the feed, but when using only 'Featured Images' with this theme, no images show.&#60;/p&#62;
&#60;p&#62;I added a few lines of code into functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
function insertThumbnailRSS($content) {
global $post;
if ( has_post_thumbnail( $post-&#38;gt;ID ) ){
$content = &#38;#39;&#38;#39; . get_the_post_thumbnail( $post-&#38;gt;ID, &#38;#39;thumbnail&#38;#39; ) . &#38;#39;&#38;#39; . $content;
}
return $content;
}

add_filter(&#38;#39;the_excerpt_rss&#38;#39;, &#38;#39;insertThumbnailRSS&#38;#39;);
add_filter(&#38;#39;the_content_feed&#38;#39;, &#38;#39;insertThumbnailRSS&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;...but that only adds a tiny thumbnail into the main feed and doesn't add anything into the category feeds  domain.com/category/feed.&#60;/p&#62;
&#60;p&#62;i'm stuck...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-1771</link>
			<pubDate>Tue, 03 Aug 2010 09:23:03 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">1771@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; Adding images to RSS feeds is easiest with a plugin such as this one: &#60;a href=&#34;http://wordpress.org/extend/plugins/rss-image-widget/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/rss-image-widget/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Are you using a RSS widget to get the content on the other site? &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>OwenDevelopment on "No RSS feed images"</title>
			<link>http://www.kriesi.at/support/topic/no-rss-feed-images#post-1704</link>
			<pubDate>Mon, 02 Aug 2010 14:05:49 +0000</pubDate>
			<dc:creator>OwenDevelopment</dc:creator>
			<guid isPermaLink="false">1704@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Kriesi,&#60;/p&#62;
&#60;p&#62;Using your great theme and having fun customising it for a commercial news site.&#60;/p&#62;
&#60;p&#62;I am trying to set up feeds to another site and although I can get seperate feeds for each category, no images show in the feed.  I am only using the 'Featured image' from WP 3.0, so how can I get images into the feed?&#60;/p&#62;
&#60;p&#62;Is this a theme mod, or Wordpress 3.0 mod?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
