<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Cracknell &#187; thumbnail</title>
	<atom:link href="http://www.paulcracknell.net/tag/thumbnail/feed" rel="self" type="application/rss+xml" />
	<link>http://www.paulcracknell.net</link>
	<description>Wordpress Themes, Photography, PHP and other stuff</description>
	<lastBuildDate>Sun, 29 Jan 2012 11:09:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Changing the default thumbnail</title>
		<link>http://www.paulcracknell.net/22/changing-the-default-thumbnail</link>
		<comments>http://www.paulcracknell.net/22/changing-the-default-thumbnail#comments</comments>
		<pubDate>Mon, 29 Jun 2009 12:21:53 +0000</pubDate>
		<dc:creator>Paul Cracknell</dc:creator>
				<category><![CDATA[Setup Breathe]]></category>
		<category><![CDATA[get the image]]></category>
		<category><![CDATA[thumbnail]]></category>

		<guid isPermaLink="false">http://www.paulcracknell.net/?p=22</guid>
		<description><![CDATA[<p style="text-align: justify;">This thumbnail on the front page beside an excerpt of an article is a default image.  This image is called by the Plugin <strong>Get the image</strong>.  If an article has no images of its own the default image will be called.  If an article has an image the first image in the article is called.  Most people like pictures and this is why I have included it in this &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This thumbnail on the front page beside an excerpt of an article is a default image.  This image is called by the Plugin <strong>Get the image</strong>.  If an article has no images of its own the default image will be called.  If an article has an image the first image in the article is called.  Most people like pictures and this is why I have included it in this theme.  If you want to change the default image just make a new <strong>thumbnail.jpg</strong> image and upload it to the images folder in the breathe theme. The image should be thumbnail size 100x100px.</p>
<p style="text-align: justify;">
<div id="attachment_36" class="wp-caption alignleft" style="width: 160px"><img class="size-full wp-image-36" title="thumbnail" src="http://www.paulcracknell.net/wp-content/uploads/2009/06/thumbnail.jpg" alt="Default Thumbnail" width="150" height="150" />
<p class="wp-caption-text">Default Thumbnail</p>
</div>
<p>To make it so that double images are not shown on the front page put the first image after the first paragraph or at least 70 words into the a post.  This is because the except will show the first 70 words as I have set it up and will include an image if it is in the first 70 words.</p>
<p>In version 1.7 I disabled the default thumbnail.  You can reinstate it if you find this line of code in the index.php file
<pre class="brush: php">
&lt;?php if ( function_exists( &#039;get_the_image&#039; ) ) { get_the_image(); } ?&gt;
</pre>
<p>and replace it with this
<pre class="brush: php">&lt;?php if( function_exists( &#039;get_the_image&#039; ) ) get_the_image( array( &#039;default_image&#039; =&gt; &#039;../wp-content/themes/breathe/images/thumbnail.jpg&#039;)); ?&gt;
</pre>
<div  class="related_post_title">Related Posts</div>
<ul class="related_post">
<li>No Related Post</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.paulcracknell.net/22/changing-the-default-thumbnail/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

