<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: About WordPress Post Thumbnail</title>
	<atom:link href="http://wpengineer.com/1925/about-wordpress-post-thumbnail/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/</link>
	<description>WordPress News, Hacks, Tips, Tutorials, Plugins and Themes</description>
	<lastBuildDate>Tue, 22 May 2012 12:01:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Agus Suhanto</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-4794</link>
		<dc:creator>Agus Suhanto</dc:creator>
		<pubDate>Tue, 17 Aug 2010 04:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-4794</guid>
		<description>This is a very nice explanation about underused and hard-to-understand concept in WordPress: post-thumbnails of featured images.

I also made a posting about it here: http://suhanto.net/the-importance-of-featured-image-in-wordpress/. It is not as thorough as this article, but it takes different focus.</description>
		<content:encoded><![CDATA[<p>This is a very nice explanation about underused and hard-to-understand concept in WordPress: post-thumbnails of featured images.</p>
<p>I also made a posting about it here: <a href="http://suhanto.net/the-importance-of-featured-image-in-wordpress/" rel="nofollow">http://suhanto.net/the-importance-of-featured-image-in-wordpress/</a>. It is not as thorough as this article, but it takes different focus.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jethro Cramp</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-4413</link>
		<dc:creator>Jethro Cramp</dc:creator>
		<pubDate>Fri, 28 May 2010 09:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-4413</guid>
		<description>Hard Crop Images Not Working

Thanks for this detailed tutorial, and for Mark&#039;s tutorial too. But this isn&#039;t working for me, and I&#039;ve spent a week researching and trying everything I can to get it to work.

I am trying to build a gallery. The idea is that the first three images from each post in a specific category (Gallery) are displayed as a hard cropped thumbnail. I can get the images to be cropped, but not hard cropped, the aspect ratio is maintained. I&#039;ve followed very carefully the advice here and on Mark&#039;s blog. It seems that I am not the only one having this issue, but no one seems to have a solution.

I am using Wordpress 2.9.2 on a Mac and In my functions.php file I have:

&lt;code&gt;add_theme_support( &#039;post-thumbnails&#039; );
set_post_thumbnail_size( 176, 176, true ); 
add_image_size (&#039;gallery&#039;, 150, 150, true);
&lt;/code&gt;
Then in my template (page.php) I have:

&lt;code&gt;&lt;?php echo wp_get_attachment_image($attachment_id, $size = &#039;gallery&#039;, $icon = false ); &lt;/code&gt;

The images are displayed with the largest dimension set at 150, and then the other dimension is less than 150. If I&#039;ve made an obvious mistake, or anyone has an idea why the hard crop isn&#039;t working, I&#039;d really like to know.        Thanks In Advance.</description>
		<content:encoded><![CDATA[<p>Hard Crop Images Not Working</p>
<p>Thanks for this detailed tutorial, and for Mark's tutorial too. But this isn't working for me, and I've spent a week researching and trying everything I can to get it to work.</p>
<p>I am trying to build a gallery. The idea is that the first three images from each post in a specific category (Gallery) are displayed as a hard cropped thumbnail. I can get the images to be cropped, but not hard cropped, the aspect ratio is maintained. I've followed very carefully the advice here and on Mark's blog. It seems that I am not the only one having this issue, but no one seems to have a solution.</p>
<p>I am using WordPress 2.9.2 on a Mac and In my functions.php file I have:</p>
<p><code>add_theme_support( 'post-thumbnails' );<br />
set_post_thumbnail_size( 176, 176, true );<br />
add_image_size ('gallery', 150, 150, true);<br />
</code><br />
Then in my template (page.php) I have:</p>
<p><code>&lt;?php echo wp_get_attachment_image($attachment_id, $size = &#039;gallery&#039;, $icon = false ); </code></p>
<p>The images are displayed with the largest dimension set at 150, and then the other dimension is less than 150. If I&#039;ve made an obvious mistake, or anyone has an idea why the hard crop isn&#039;t working, I&#039;d really like to know.        Thanks In Advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mak</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3373</link>
		<dc:creator>Mak</dc:creator>
		<pubDate>Fri, 29 Jan 2010 08:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3373</guid>
		<description>My blog contributors use gallery in their posts and often forget to click &quot;Use as thumbnail&quot; link. The end effect is that there is no thumbnail with excerpts. What is the best way to display thumbnail in this situation ?</description>
		<content:encoded><![CDATA[<p>My blog contributors use gallery in their posts and often forget to click "Use as thumbnail" link. The end effect is that there is no thumbnail with excerpts. What is the best way to display thumbnail in this situation ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3155</link>
		<dc:creator>George</dc:creator>
		<pubDate>Tue, 29 Dec 2009 22:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3155</guid>
		<description>does anybody know why it&#039;s impossible to attach a thumbnail from nextgen gallery? why they show me it as available, but put no button for setting image as a thumb?</description>
		<content:encoded><![CDATA[<p>does anybody know why it's impossible to attach a thumbnail from nextgen gallery? why they show me it as available, but put no button for setting image as a thumb?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3123</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 23 Dec 2009 13:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3123</guid>
		<description>@Mark: Thanks for your help and your cool post.</description>
		<content:encoded><![CDATA[<p>@Mark: Thanks for your help and your cool post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Jaquith</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3119</link>
		<dc:creator>Mark Jaquith</dc:creator>
		<pubDate>Wed, 23 Dec 2009 07:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3119</guid>
		<description>&lt;blockquote&gt;Most folks want to be able to determine what those thumbnails will display as, and if you give them the option to fill it out as 150x120 and it shows as 120x120 - that&#039;s a support nightmare.&lt;/blockquote&gt;

Good news — you &lt;strong&gt;can&lt;/strong&gt; force a &quot;hard crop&quot; to 150x120. The example used in this post isn&#039;t ideal, because WordPress can&#039;t (yet) do on-the-fly resizing/cropping. What it&#039;s doing if you use the above example is browser-resizing. And if you&#039;re doing that then &lt;strong&gt;no&lt;/strong&gt;, you can&#039;t specify a hard crop.

But if you define your sizes &quot;ahead of time&quot; in your theme&#039;s &lt;code&gt;functions.php&lt;/code&gt;, WP will generate these sizes (including a hard-crop version if you ask for it), and then in the theme, it will use the size you ask for, without browser resizing.

I&#039;ve &lt;a href=&quot;http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/&quot; rel=&quot;nofollow&quot;&gt;written up detailed info&lt;/a&gt; on how to implement this feature properly.</description>
		<content:encoded><![CDATA[<blockquote><p>Most folks want to be able to determine what those thumbnails will display as, and if you give them the option to fill it out as 150x120 and it shows as 120x120 - that's a support nightmare.</p></blockquote>
<p>Good news — you <strong>can</strong> force a "hard crop" to 150x120. The example used in this post isn't ideal, because WordPress can't (yet) do on-the-fly resizing/cropping. What it's doing if you use the above example is browser-resizing. And if you're doing that then <strong>no</strong>, you can't specify a hard crop.</p>
<p>But if you define your sizes "ahead of time" in your theme's <code>functions.php</code>, WP will generate these sizes (including a hard-crop version if you ask for it), and then in the theme, it will use the size you ask for, without browser resizing.</p>
<p>I've <a href="http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/" rel="nofollow">written up detailed info</a> on how to implement this feature properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John (Human3rror)</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3117</link>
		<dc:creator>John (Human3rror)</dc:creator>
		<pubDate>Wed, 23 Dec 2009 01:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3117</guid>
		<description>word! very cool. love this new function!</description>
		<content:encoded><![CDATA[<p>word! very cool. love this new function!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Tricks</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3113</link>
		<dc:creator>WP Tricks</dc:creator>
		<pubDate>Tue, 22 Dec 2009 16:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3113</guid>
		<description>Wonderful review, I like it... WordPress 2.9 is the next blogging tools ;)</description>
		<content:encoded><![CDATA[<p>Wonderful review, I like it... WordPress 2.9 is the next blogging tools <img src='http://wpengineer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3110</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 22 Dec 2009 14:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3110</guid>
		<description>@Ajay: if you don&#039;t have that feature enebled in your theme, you can&#039;t use the functionallity of this feature. Means, you don&#039;t have the post-thumbnail metabox in your new/edit post view.</description>
		<content:encoded><![CDATA[<p>@Ajay: if you don't have that feature enebled in your theme, you can't use the functionallity of this feature. Means, you don't have the post-thumbnail metabox in your new/edit post view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://wpengineer.com/1925/about-wordpress-post-thumbnail/#comment-3109</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Tue, 22 Dec 2009 14:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=1925#comment-3109</guid>
		<description>&lt;blockquote&gt;Important for this function, it is only working when it is explicitly enabled in the theme.&lt;/blockquote&gt;

Does this mean that unless the theme specifies this, you can&#039;t use the thumbnail feature? Like if a plugin wants to display the post thumbnail, it can&#039;t?</description>
		<content:encoded><![CDATA[<blockquote><p>Important for this function, it is only working when it is explicitly enabled in the theme.</p></blockquote>
<p>Does this mean that unless the theme specifies this, you can't use the thumbnail feature? Like if a plugin wants to display the post thumbnail, it can't?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

