<?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: Custom image suffixes in WordPress</title>
	<atom:link href="http://jstnryan.com/custom-image-suffixes-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://jstnryan.com/custom-image-suffixes-in-wordpress/</link>
	<description>Web Coder, Techno DJ, rave lighting designer, dish washer, and otherwise &#039;jack of all trades&#039;</description>
	<lastBuildDate>Fri, 08 Apr 2011 15:54:05 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: ninjacolin</title>
		<link>http://jstnryan.com/custom-image-suffixes-in-wordpress/comment-page-1/#comment-1635</link>
		<dc:creator>ninjacolin</dc:creator>
		<pubDate>Fri, 08 Apr 2011 15:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://jstnryan.com/?p=312#comment-1635</guid>
		<description>uh.. actually, I think I got it to work.

It seems you just have to make sure any of the other sizes in settings aren&#039;t set to the same size as your custom functions. no conflicts allowed I guess. :)</description>
		<content:encoded><![CDATA[<p>uh.. actually, I think I got it to work.</p>
<p>It seems you just have to make sure any of the other sizes in settings aren&#8217;t set to the same size as your custom functions. no conflicts allowed I guess. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ninjacolin</title>
		<link>http://jstnryan.com/custom-image-suffixes-in-wordpress/comment-page-1/#comment-1634</link>
		<dc:creator>ninjacolin</dc:creator>
		<pubDate>Fri, 08 Apr 2011 15:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://jstnryan.com/?p=312#comment-1634</guid>
		<description>How is this to work with custom sizes?
The testing I&#039;ve done doesn&#039;t seem to allow for custom sizes to be recognized. I tried this:

&lt;code&gt;&lt;pre&gt;if ( !$suffix )
	{
	  switch ($max_w) {
		case (intval(get_option(&#039;large_size_w&#039;))):
		  $suffix = &#039;large&#039;;
		  break;
		case (intval(get_option(&#039;medium_size_w&#039;))):
		  $suffix = &#039;medium&#039;;
		  break;
		case (intval(get_option(&#039;thumbnail_size_w&#039;))):
		  $suffix = &#039;thumbnail&#039;;
		  break;
		case (intval(get_option(&#039;custom1_size_w&#039;))):
		  $suffix = &#039;tinythumb&#039;;
		  break;
		case (intval(get_option(&#039;custom2_size_w&#039;))):
		  $suffix = &#039;projprev&#039;;
		  break;
		default:
		  $suffix = &quot;{$dst_w}x{$dst_h}&quot;;
	  } // colin edit.. custom suffixes, one for each size and custom size!
		// reference: http://jstnryan.com/custom-image-suffixes-in-wordpress/
	}&lt;/pre&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>How is this to work with custom sizes?<br />
The testing I&#8217;ve done doesn&#8217;t seem to allow for custom sizes to be recognized. I tried this:</p>
<p><code>
<pre>if ( !$suffix )
	{
	  switch ($max_w) {
		case (intval(get_option('large_size_w'))):
		  $suffix = 'large';
		  break;
		case (intval(get_option('medium_size_w'))):
		  $suffix = 'medium';
		  break;
		case (intval(get_option('thumbnail_size_w'))):
		  $suffix = 'thumbnail';
		  break;
		case (intval(get_option('custom1_size_w'))):
		  $suffix = 'tinythumb';
		  break;
		case (intval(get_option('custom2_size_w'))):
		  $suffix = 'projprev';
		  break;
		default:
		  $suffix = "{$dst_w}x{$dst_h}";
	  } // colin edit.. custom suffixes, one for each size and custom size!
		// reference: <a href="http://jstnryan.com/custom-image-suffixes-in-wordpress/" rel="nofollow">http://jstnryan.com/custom-image-suffixes-in-wordpress/</a>
	}</pre>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Garcia</title>
		<link>http://jstnryan.com/custom-image-suffixes-in-wordpress/comment-page-1/#comment-1632</link>
		<dc:creator>Andres Garcia</dc:creator>
		<pubDate>Thu, 10 Mar 2011 22:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://jstnryan.com/?p=312#comment-1632</guid>
		<description>Thank you so much for sharing this. I was about to start pulling my hair out and you posted exactly what I needed :D</description>
		<content:encoded><![CDATA[<p>Thank you so much for sharing this. I was about to start pulling my hair out and you posted exactly what I needed :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlcarneiro.com</title>
		<link>http://jstnryan.com/custom-image-suffixes-in-wordpress/comment-page-1/#comment-337</link>
		<dc:creator>jlcarneiro.com</dc:creator>
		<pubDate>Sat, 20 Feb 2010 04:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://jstnryan.com/?p=312#comment-337</guid>
		<description>&lt;strong&gt;Sufixo de imagens no Wordpress...&lt;/strong&gt;

Gostei muito das últimas atualizações do Worpress porque adicionaram funcionalidades que eu obtinha apenas por meio de plugins. O gerenciamento de imagens, por exemplo, faço agora pela Biblioteca de Mídia. O sistema oferece ferramentas básicas de ediçã...</description>
		<content:encoded><![CDATA[<p><strong>Sufixo de imagens no WordPress&#8230;</strong></p>
<p>Gostei muito das últimas atualizações do Worpress porque adicionaram funcionalidades que eu obtinha apenas por meio de plugins. O gerenciamento de imagens, por exemplo, faço agora pela Biblioteca de Mídia. O sistema oferece ferramentas básicas de ediçã&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

